llvm-project/clang/lib
Artem Dergachev 7c0ab86932 [analyzer] Don't add arrow to the inlined function's decl when it has no body.
In plist output mode with alternate path diagnostics, when entering a function,
we draw an arrow from the caller to the beginning of the callee's declaration.
Upon exiting, however, we draw the arrow from the last statement in the
callee function. The former makes little sense when the declaration is
not a definition, i.e. has no body, which may happen in case the body
is coming from a body farm, eg. Objective-C autosynthesized property accessor.

Differential Revision: https://reviews.llvm.org/D33671

llvm-svn: 304713
2017-06-05 13:36:28 +00:00
..
ARCMigrate Added LLVM_FALLTHROUGH to address warning: this statement may fall through. NFC. 2017-06-03 06:23:19 +00:00
AST [OpenCL] Fix pipe size in TypeInfo. 2017-06-05 11:27:03 +00:00
ASTMatchers Add cxxStdInitializerListExpr AST matcher 2017-05-05 21:01:12 +00:00
Analysis Added LLVM_FALLTHROUGH to address warning: this statement may fall through. NFC. 2017-06-03 06:23:51 +00:00
Basic Added missing break. 2017-06-03 06:40:10 +00:00
CodeGen Add support for #pragma clang section 2017-06-05 10:11:57 +00:00
Driver Revert "[sanitizer-coverage] one more flavor of coverage: -fsanitize-coverage=inline-8bit-counters. Experimental so far, not documenting yet. (clang part)" 2017-06-05 07:35:45 +00:00
Edit Added LLVM_FALLTHROUGH to address warning: this statement may fall through. NFC. 2017-06-03 06:30:08 +00:00
Format [clang-format] Don't align too long broken trailing comments 2017-06-04 19:27:02 +00:00
Frontend Revert "[sanitizer-coverage] one more flavor of coverage: -fsanitize-coverage=inline-8bit-counters. Experimental so far, not documenting yet. (clang part)" 2017-06-05 07:35:45 +00:00
FrontendTool unique_ptrify createDriverOptTable 2017-01-13 17:34:15 +00:00
Headers [PPC] Make altivec conversion function macros. 2017-05-30 11:37:29 +00:00
Index [index] The references to explicit class properties should be recorded 2017-05-24 14:23:40 +00:00
Lex Added LLVM_FALLTHROUGH to address warning: this statement may fall through. NFC. 2017-06-03 06:25:47 +00:00
Parse Add support for #pragma clang section 2017-06-05 10:11:57 +00:00
Rewrite Added LLVM_FALLTHROUGH to address warning: this statement may fall through. NFC. 2017-06-03 06:29:40 +00:00
Sema Add support for #pragma clang section 2017-06-05 10:11:57 +00:00
Serialization [Modules] Fix use after scope. 2017-06-02 17:30:24 +00:00
StaticAnalyzer [analyzer] Don't add arrow to the inlined function's decl when it has no body. 2017-06-05 13:36:28 +00:00
Tooling Method loadFromCommandLine should be able to report errors 2017-05-24 11:57:37 +00:00
CMakeLists.txt