llvm-project/clang/lib/Lex
Benjamin Kramer 15b9717873 Implement PreprocessingRecord's and LazyVector's iterators on top of iterator_adaptor_base
This basically creates a wrapper around an 'int' that poses as an iterator.
While that looks a bit counter-intuitive it works just fine because iterator
operations and basic integer arithmetic works in exactly the same way.

Remove the manual integer wrapping code and reduce the reliance on iterator
internals in the implementation. No functionality change intended.

llvm-svn: 232322
2015-03-15 15:27:19 +00:00
..
CMakeLists.txt [CMake] Use LINK_LIBS instead of target_link_libraries(). 2014-02-26 06:41:29 +00:00
HeaderMap.cpp Make VFS and FileManager match the current MemoryBuffer API. 2014-10-26 22:44:13 +00:00
HeaderSearch.cpp Don't load Framework module.map files when searching subdirectories 2015-02-24 04:58:15 +00:00
Lexer.cpp Use delegating ctors to reduce code duplication. NFC. 2015-03-06 14:15:57 +00:00
LiteralSupport.cpp [c++1z] Support for u8 character literals. 2014-11-08 06:08:42 +00:00
MacroArgs.cpp [c++1z] Support for u8 character literals. 2014-11-08 06:08:42 +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 When building a module, all headers of submodules can be used. 2015-03-13 14:29:39 +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
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 Lex: Don't let annotation tokens get into macro expansion 2014-12-28 07:42:49 +00:00
PPExpressions.cpp Commit patch for PR19649. Set the correct sign of wide character for literals based on underlying type of wchar_t. 2015-02-24 13:34:20 +00:00
PPLexerChange.cpp Remove superceded warning warn_forgotten_module_header 2014-11-05 16:43:18 +00:00
PPMacroExpansion.cpp Teach raw_ostream to accept SmallString. 2015-03-10 07:33:23 +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 Properly initialize the parser_crash debug token. 2015-03-08 19:28:24 +00:00
PreprocessingRecord.cpp Implement PreprocessingRecord's and LazyVector's iterators on top of iterator_adaptor_base 2015-03-15 15:27:19 +00:00
Preprocessor.cpp [Modules] Fix crash in Preprocessor::getLastMacroWithSpelling(). 2015-03-04 16:03:07 +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 [c++1z] Support for u8 character literals. 2014-11-08 06:08:42 +00:00
TokenLexer.cpp MSVC: A wide string literal from L#macro_arg in a macro 2014-12-15 04:18:11 +00:00
UnicodeCharSets.h Header guard canonicalization, clang part. 2014-08-13 16:25:19 +00:00