llvm-project/clang/lib/Lex
Ben Langmuir c3ea5654f9 Prevent lookup of subframework modules by name without parent framework
We were 'allowing' the following import
@import Sub;

where Sub is a subframework of Foo and we had a -F path inside
Foo.framework/Frameworks and no module map file for Sub. This would
later hit assertion failures in debug builds.

Now we should correctly diagnose this as a module not found error.

llvm-svn: 204368
2014-03-20 18:27:26 +00:00
..
CMakeLists.txt [CMake] Use LINK_LIBS instead of target_link_libraries(). 2014-02-26 06:41:29 +00:00
HeaderMap.cpp [C++11] Replace OwningPtr include with <memory>. 2014-03-09 11:36:40 +00:00
HeaderSearch.cpp Prevent lookup of subframework modules by name without parent framework 2014-03-20 18:27:26 +00:00
Lexer.cpp [C++11] Replace llvm::tie with std::tie. 2014-03-02 13:01:17 +00:00
LiteralSupport.cpp Remove uses of SmallString::equals in favor of SmallVectorImpl<char>'s operator== 2014-03-09 05:18:27 +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 If a module A exports a macro M, and a module B imports that macro and #undef's 2014-03-01 00:08:04 +00:00
Makefile
ModuleMap.cpp Add a new spelling for module map files 'module.modulemap' 2014-03-19 20:23:34 +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 Use the expansion location of the file name when finding the module. 2014-03-19 10:22:36 +00:00
PPExpressions.cpp Add two missing entries to the C++11 support page. Bump one relevant diagnostic 2014-03-14 21:21:24 +00:00
PPLexerChange.cpp [Preprocessor] Only check for -Wunused-macros if the translation unit kind is TU_Complete. 2014-03-08 21:18:26 +00:00
PPMacroExpansion.cpp Added a __has_feature() for 'is_constructible' 2014-03-18 14:13:10 +00:00
PTHLexer.cpp [C++11] Add 'override' keyword to virtual methods that override their base class. 2014-03-11 06:50:42 +00:00
Pragma.cpp [C++11] Add 'override' keyword to virtual methods that override their base class. 2014-03-11 06:50:42 +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 Preprocessor: Clarify the ownership of the IncludeMacroStack with unique_ptr. 2014-03-15 16:40:40 +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 Revert "Fix assertion failures on annot_* tokens in clang -E" 2014-01-30 21:50:18 +00:00
TokenLexer.cpp If the first token in a macro that appears at the start of a line expands to 2014-02-24 20:45:00 +00:00
UnicodeCharSets.h Fix the range for Malayam UCNs in C99. 2014-02-05 15:32:23 +00:00