llvm-project/clang/lib/Lex
Chris Lattner aa1cccbbef Fix PR6282: the include guard optimization cannot happen if the
guard macro is already defined for the first occurrence of the
header.  If it is, the body will be skipped and not be properly
analyzed for the include guard optimization.

llvm-svn: 95972
2010-02-12 08:03:27 +00:00
..
CMakeLists.txt Lexically order files in CMakeLists.txt files. 2009-07-15 21:08:41 +00:00
HeaderMap.cpp Simplify code. No functionality change. 2010-01-10 09:51:00 +00:00
HeaderSearch.cpp stringref'ize a bunch of filename handling logic. Much 2010-01-10 01:35:12 +00:00
Lexer.cpp don't inform comment handlers about comments in #if 0 blocks, 2010-02-03 21:06:21 +00:00
LiteralSupport.cpp ui64, etc. are valid VS suffixes. 2010-01-22 21:36:53 +00:00
MacroArgs.cpp use best-fit instead of first-fit when reusing a MacroArgs object, 2009-12-28 06:36:46 +00:00
MacroArgs.h The PreExpArgTokens array is indexed with an argument #, 2009-12-28 06:17:16 +00:00
MacroInfo.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
Makefile -fno-rtti is now the default. 2010-01-24 20:43:31 +00:00
PPCaching.cpp When placing an annotation token over an existing annotation token, make sure that the new token's range extends to the end of the old token. Assert that in AnnotateCachedTokens. Fixes PR6248. 2010-02-08 19:35:18 +00:00
PPDirectives.cpp Fix PR6282: the include guard optimization cannot happen if the 2010-02-12 08:03:27 +00:00
PPExpressions.cpp fix rdar://7466570 - Be more bug compatible with GCC when it comes to 2009-12-14 05:00:18 +00:00
PPLexerChange.cpp Teach Preprocessor::macro_begin/macro_end to lazily load all macro 2010-01-04 19:18:44 +00:00
PPMacroExpansion.cpp Use raw_ostreams in Preprocessor::ExpandBuiltinMacro. Still not nice but less fragile than the old code. 2010-01-27 16:38:22 +00:00
PTHLexer.cpp Remove remaining VISIBILITY_HIDDEN from anonymous namespaces. 2009-11-28 19:45:26 +00:00
Pragma.cpp revert my patch for rdar://7520940 that warns when a published header 2010-01-22 00:14:44 +00:00
Preprocessor.cpp Fix subtle bug in Preprocessor::AdvanceToTokenCharacter(): use '+=' instead of '='. 2010-01-29 19:38:24 +00:00
PreprocessorLexer.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
ScratchBuffer.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
TokenConcatenation.cpp Move clients to use IdentifierInfo::getNameStart() instead of getName() 2009-10-18 20:26:12 +00:00
TokenLexer.cpp The PreExpArgTokens array is indexed with an argument #, 2009-12-28 06:17:16 +00:00