llvm-project/clang/lib
Dmitri Gribenko ad80af8f19 -Wempty-body: fix false negative triggered by macros
When if statement condition ended in a macro:

    if (ptr == NULL);

the check used to consider the definition location of NULL, instead of the
current line.

Patch by Manasij Mukherjee.

llvm-svn: 232295
2015-03-15 01:08:23 +00:00
..
ARCMigrate [SDK modernizer] Patch to fix type of the typed enums when 2015-03-02 23:58:02 +00:00
AST Sort ObjCProtocolDecls with array_pod_sort. 2015-03-14 13:32:49 +00:00
ASTMatchers ASTMatchers: Add an explicit dependency on libclangBasic. 2015-03-12 16:25:19 +00:00
Analysis Make helper functions static 2015-03-09 15:03:32 +00:00
Basic Under duress, move check for target support of __builtin_setjmp/ 2015-03-11 23:46:32 +00:00
CodeGen MS ABI: Tidy up references to the ASTContext 2015-03-14 23:44:48 +00:00
Driver Implement bad cast checks using control flow integrity information. 2015-03-14 02:42:25 +00:00
Edit Edit: Do not extend a removal to include trailing whitespace if we're at the end 2014-09-15 11:47:10 +00:00
Format clang-format: Don't corrupt macros with open braces. 2015-03-13 13:32:11 +00:00
Frontend [modules] Teach the AST reader to handle the case of importing a module 2015-03-14 04:47:43 +00:00
FrontendTool Provide a BuryPointer for unique_ptrs. 2014-08-29 16:53:14 +00:00
Headers [X86, AVX2] Replace inserti128 and extracti128 intrinsics with generic shuffles 2015-03-12 21:54:24 +00:00
Index [libclang] Use same USR encoding for 'char' regardless of what the target considers the sign to be. 2014-12-08 09:09:05 +00:00
Lex When building a module, all headers of submodules can be used. 2015-03-13 14:29:39 +00:00
Parse Sema: Don't emit a missing prototype warning for deleted functions. 2015-03-12 14:28:47 +00:00
Rewrite [Rewrite] Make RewriteBuffer accessible on its own, and add a unit test for it. 2015-03-08 04:00:33 +00:00
Sema -Wempty-body: fix false negative triggered by macros 2015-03-15 01:08:23 +00:00
Serialization [modules] Teach the AST reader to handle the case of importing a module 2015-03-14 04:47:43 +00:00
StaticAnalyzer [analyzer] Sort path diagnostics with array_pod_sort. 2015-03-14 12:39:22 +00:00
Tooling Tooling: Hide implementation details 2015-03-09 15:03:26 +00:00
CMakeLists.txt Fix build with various feature flag combinations 2014-07-14 22:17:22 +00:00
Makefile Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00