24146975f1af8c1b4b14e8545f218129d0e7dfeb |
|
22-Aug-2013 |
Eli Friedman <eli.friedman@gmail.com> |
Split isFromMainFile into two functions. Basically, isInMainFile considers line markers, and isWrittenInMainFile doesn't. Distinguishing between the two is useful when dealing with files which are preprocessed files or rewritten with -frewrite-includes (so we don't, for example, print useless warnings). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188968 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Preprocessor/warn-macro-unused.c
|
95b59eae3532902753d1a588953c7dfcc1ef698d |
|
11-Jul-2011 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
Reenable test. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134928 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Preprocessor/warn-macro-unused.c
|
df574f0ac2acf774a874752f6421f1f6f85cb2cc |
|
11-Jul-2011 |
Eli Friedman <eli.friedman@gmail.com> |
Test is broken; XFAIL it until Argyrios gets a chance to look at it. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134925 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Preprocessor/warn-macro-unused.c
|
1f8dcfca6c57606b9f4f96404642c02562289b83 |
|
11-Jul-2011 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
Don't warn for unused macro when undef'ing it, if it comes from an included file. rdar://9745065 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134919 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Preprocessor/warn-macro-unused.c
|
a33e0504f61132ac43f4f89af43b12c87e987c20 |
|
18-Jan-2011 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
When redefining a macro don't warn twice if it's not used and don't warn for duplicate definition by command line options. Fixes rdar://8875916. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@123767 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/Preprocessor/warn-macro-unused.c
|