llvm-project/clang/lib/Lex
Richard Smith 25d50758f3 [modules] Add support for #include_next.
#include_next interacts poorly with modules: it depends on where in the list of
include paths the current file was found. Files covered by module maps are not
found in include search paths when building the module (and are not found in
include search paths when @importing the module either), so this isn't really
meaningful. Instead, we fake up the result that #include_next *should* have
given: find the first path that would have resulted in the given file being
picked, and search from there onwards.

llvm-svn: 220177
2014-10-20 00:15:49 +00:00
..
CMakeLists.txt [CMake] Use LINK_LIBS instead of target_link_libraries(). 2014-02-26 06:41:29 +00:00
HeaderMap.cpp unique_ptrify HeaderMap::FileBuffer 2014-08-29 19:51:32 +00:00
HeaderSearch.cpp PR21215: Support -fmodule-map-file being specified multiple times. Support 2014-10-17 01:42:53 +00:00
Lexer.cpp C++1y is now C++14! 2014-08-19 15:55:55 +00:00
LiteralSupport.cpp C++1y is now C++14! 2014-08-19 15:55:55 +00:00
MacroArgs.cpp [C++11] Use 'nullptr'. Lex edition. 2014-05-17 23:10:59 +00:00
MacroInfo.cpp Reinstate r213348, reverted in r213395, with an additional bug fix and more 2014-07-18 22:13:40 +00:00
Makefile
ModuleMap.cpp [modules] Add support for #include_next. 2014-10-20 00:15:49 +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] Add support for #include_next. 2014-10-20 00:15:49 +00:00
PPExpressions.cpp Fix the build 2014-10-13 22:18:22 +00:00
PPLexerChange.cpp PR18793: If we try to EnterTokenStream when our current lexer is a caching 2014-09-23 21:05:52 +00:00
PPMacroExpansion.cpp [modules] Add support for #include_next. 2014-10-20 00:15:49 +00:00
PTHLexer.cpp unique_ptrify PTHManager's PerIDCache using the newly added llvm::FreeDeleter 2014-08-29 22:04:45 +00:00
Pragma.cpp [modules] Add support for #include_next. 2014-10-20 00:15:49 +00:00
PreprocessingRecord.cpp [C++11] Use 'nullptr'. Lex edition. 2014-05-17 23:10:59 +00:00
Preprocessor.cpp [libclang] If the code-completion point is inside the preamble, adjust the position at the beginning of the file after the preamble. 2014-10-18 06:23:50 +00:00
PreprocessorLexer.cpp Make Preprocessor::Lex non-recursive. 2013-09-19 00:41:32 +00:00
ScratchBuffer.cpp unique_ptrify SourceManager::createFileID 2014-08-29 07:59:55 +00:00
TokenConcatenation.cpp Avoid a couple of assertions when preprocessing with modules 2014-09-10 21:29:41 +00:00
TokenLexer.cpp [C++11] Use 'nullptr'. Lex edition. 2014-05-17 23:10:59 +00:00
UnicodeCharSets.h Header guard canonicalization, clang part. 2014-08-13 16:25:19 +00:00