llvm-project/clang/lib/Lex
Daniel Jasper 0761a8a085 Modules: Don't warn upon missing headers while reading the module map.
Instead, mark the module as unavailable so that clang errors as soon as
someone tries to build this module.

This works towards the long-term goal of not stat'ing the header files at all
while reading the module map and instead read them only when the module is
being built (there is a corresponding FIXME in parseHeaderDecl()).  However, it
seems non-trivial to get there and this unblock us and moves us into the right
direction.

Also changed the implementation to reuse the same DiagnosticsEngine.

llvm-svn: 197485
2013-12-17 10:31:37 +00:00
..
CMakeLists.txt clang/Lex: [CMake] Update CMakefiles since r169229. 2012-12-04 07:40:33 +00:00
HeaderMap.cpp Use only explicit bool conversion operator 2013-05-15 07:37:26 +00:00
HeaderSearch.cpp Modules: Don't warn upon missing headers while reading the module map. 2013-12-17 10:31:37 +00:00
Lexer.cpp Lexer: Issue -Wbackslash-newline-escape for line comments 2013-12-14 23:32:31 +00:00
LiteralSupport.cpp NumericLiteralParser::ParseNumberStartingWithZero(): Try to appease MSC16's miscompilation. 2013-09-27 04:42:28 +00:00
MacroArgs.cpp [Preprocessor] For the MacroExpands preprocessor callback, also pass the MacroArgs object that provides information about 2013-05-03 22:31:32 +00:00
MacroInfo.cpp [preprocessor] Minor optimization following r178671. 2013-04-03 21:29:07 +00:00
Makefile
ModuleMap.cpp Modules: Don't warn upon missing headers while reading the module map. 2013-12-17 10:31:37 +00:00
PPCaching.cpp Fix the build break introduced by r195799 by restoring two close 2013-11-27 01:40:12 +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 Changed ConditionValue argument to PPCallbacks If and Elif callbacks to be a 3-state enum. 2013-12-07 08:41:15 +00:00
PPDirectives.cpp Modules: Let -fmodules-decluse ignore headers that aren't in a module 2013-12-11 12:13:00 +00:00
PPExpressions.cpp Partially revert r186903. 2013-07-26 00:06:45 +00:00
PPLexerChange.cpp Generate a marker token when entering or leaving a submodule when building a 2013-11-23 04:06:09 +00:00
PPMacroExpansion.cpp Tweak the ordering of a conditional to possibly avoid a few strcmps. 2013-12-06 16:26:55 +00:00
PTHLexer.cpp Make Preprocessor::Lex non-recursive. 2013-09-19 00:41:32 +00:00
Pragma.cpp Revert r196372, "do not warn about unknown pragmas in modes that do not handle them (pr9537)" 2013-12-04 11:12:26 +00:00
PreprocessingRecord.cpp [libclang] Record ranges skipped by the preprocessor and expose them with libclang. 2013-12-05 08:19:32 +00:00
Preprocessor.cpp Generate a marker token when entering or leaving a submodule when building a 2013-11-23 04:06:09 +00:00
PreprocessorLexer.cpp Make Preprocessor::Lex non-recursive. 2013-09-19 00:41:32 +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 Make Preprocessor::Lex non-recursive. 2013-09-19 00:41:32 +00:00
UnicodeCharSets.h Use new UnicodeCharSet interface. 2013-08-29 12:12:31 +00:00