llvm-project/clang/lib/Lex
Douglas Gregor 34d52749e4 When looking for the module associated with one of our magical builtin headers, speculatively load module maps.
The "magical" builtin headers are the headers we provide as part of
the C standard library, which typically comes from /usr/include. We
essentially merge our headers into that location (due to cyclic
dependencies). This change makes sure that, when header search finds
one of our builtin headers, we figure out which module it actually
lives in. This case is fairly rare; one ends up having to include one
of the few built-in C headers we provide before including anything
from /usr/include to trigger it. Fixes <rdar://problem/13787184>.

llvm-svn: 180934
2013-05-02 17:58:30 +00:00
..
CMakeLists.txt clang/Lex: [CMake] Update CMakefiles since r169229. 2012-12-04 07:40:33 +00:00
HeaderMap.cpp Remove some stray uses of <ctype.h> functions. 2013-02-09 10:09:43 +00:00
HeaderSearch.cpp <rdar://problem/13037793> Allow the names of modules to differ from the name of their subdirectory in the include path. 2013-03-21 01:08:50 +00:00
Lexer.cpp [libclang] Make sure the preable does not truncate comments. 2013-04-19 23:24:25 +00:00
LiteralSupport.cpp Note that we support (and in fact have supported since the dawn of time itself) 2013-04-19 20:47:20 +00:00
MacroArgs.cpp Handle _Pragma on a u8, u, or U string literal per the C11 specification. Also 2013-03-09 23:30:15 +00:00
MacroArgs.h Remove useless 'llvm::' qualifier from names like StringRef and others that are 2013-01-12 19:30:44 +00:00
MacroInfo.cpp [preprocessor] Minor optimization following r178671. 2013-04-03 21:29:07 +00:00
Makefile BUILD_ARCHIVE is the default for libraries, no need to set it. 2010-07-18 00:14:47 +00:00
ModuleMap.cpp When looking for the module associated with one of our magical builtin headers, speculatively load module maps. 2013-05-02 17:58:30 +00:00
PPCaching.cpp [preprocessor] In Preprocessor::CachingLex() check whether there were more tokens 2012-04-04 02:57:01 +00:00
PPCallbacks.cpp Unweaken vtables as per http://llvm.org/docs/CodingStandards.html#ll_virtual_anch 2011-12-20 02:48:34 +00:00
PPConditionalDirectiveRecord.cpp [preprocessor] Use MacroDirective in the preprocessor callbacks to make available the 2013-02-24 00:05:14 +00:00
PPDirectives.cpp [PCH] Fix memory leak related to deserialized MacroInfo objects. 2013-04-30 05:05:35 +00:00
PPExpressions.cpp [Preprocessor/Modules] Separate the macro directives kinds into their own MacroDirective's subclasses. 2013-03-26 17:17:01 +00:00
PPLexerChange.cpp Add the module name to the 'incomplete umbrella header' warning. 2013-01-04 18:58:28 +00:00
PPMacroExpansion.cpp Only evaluate __has_feature(c_thread_local) and __has_feature(cxx_thread_local) true when the target supports thread-local storage. 2013-05-02 05:28:32 +00:00
PTHLexer.cpp Remove duplicate includes. 2012-12-21 17:07:08 +00:00
Pragma.cpp Fix off-by-one error in #pragma clang system_header. 2013-04-17 19:09:18 +00:00
PreprocessingRecord.cpp [Preprocessor/Modules] Separate the macro directives kinds into their own MacroDirective's subclasses. 2013-03-26 17:17:01 +00:00
Preprocessor.cpp [PCH] Fix memory leak related to deserialized MacroInfo objects. 2013-04-30 05:05:35 +00:00
PreprocessorLexer.cpp Sort all of Clang's files under 'lib', and fix up the broken headers 2012-12-04 09:13:33 +00:00
ScratchBuffer.cpp Rename SourceLocation::getFileLocWithOffset -> getLocWithOffset. 2011-09-19 20:40:19 +00:00
TokenConcatenation.cpp Simplify logic for avoiding concatenation after numeric constants. 2013-02-08 22:30:31 +00:00
TokenLexer.cpp [preprocessor] When "merging" macro argument tokens into one SLocEntry chunk, 2012-12-19 23:55:44 +00:00
UnicodeCharSets.h Properly validate UCNs for C99 and C++03 (both more restrictive than C(++)11). 2013-02-09 01:10:25 +00:00