llvm-project/clang/lib/Lex
Argyrios Kyrtzidis 5cec2aea3f Support code-completion for C++ inline methods and ObjC buffering methods.
Previously we would cut off the source file buffer at the code-completion
point; this impeded code-completion inside C++ inline methods and,
recently, with buffering ObjC methods.

Have the code-completion inserted into the source buffer so that it can
be buffered along with a method body. When we actually hit the code-completion
point the cut-off lexing or parsing.

Fixes rdar://10056932&8319466

llvm-svn: 139086
2011-09-04 03:32:15 +00:00
..
CMakeLists.txt Add CMake dependencies so that LLVM_USED_LIBS order doesn't matter. 2011-02-11 23:46:38 +00:00
HeaderMap.cpp remove unneeded llvm:: namespace qualifiers on some core types now that LLVM.h imports 2011-07-23 10:55:15 +00:00
HeaderSearch.cpp Use the "Bar.h" -> <Foo/Bar.h> remapping for index header maps only as 2011-07-30 06:28:34 +00:00
Lexer.cpp Support code-completion for C++ inline methods and ObjC buffering methods. 2011-09-04 03:32:15 +00:00
LiteralSupport.cpp Allow C99 hexfloats in C++0x mode. This change resolves the standards 2011-08-30 22:40:35 +00:00
MacroArgs.cpp Add support for C++0x unicode string and character literals, from Craig Topper! 2011-07-27 05:40:30 +00:00
MacroArgs.h Make the Preprocessor more memory efficient and improve macro instantiation diagnostics. 2011-07-07 03:40:34 +00:00
MacroInfo.cpp Modules hide macro definitions by default, so that silly things like 2011-09-01 17:04:32 +00:00
Makefile BUILD_ARCHIVE is the default for libraries, no need to set it. 2010-07-18 00:14:47 +00:00
PPCaching.cpp Remove the check for repeated tok::eofs, we are not supposed to go past eof so this code is 2010-07-12 21:41:41 +00:00
PPDirectives.cpp Support code-completion for C++ inline methods and ObjC buffering methods. 2011-09-04 03:32:15 +00:00
PPExpressions.cpp Support code-completion for C++ inline methods and ObjC buffering methods. 2011-09-04 03:32:15 +00:00
PPLexerChange.cpp Support code-completion for C++ inline methods and ObjC buffering methods. 2011-09-04 03:32:15 +00:00
PPMacroExpansion.cpp Support code-completion for C++ inline methods and ObjC buffering methods. 2011-09-04 03:32:15 +00:00
PTHLexer.cpp Support code-completion for C++ inline methods and ObjC buffering methods. 2011-09-04 03:32:15 +00:00
Pragma.cpp Change err_pp_file_not_found back to an Error; when it's a Warning, we suppress it in system headers. And it is not a good idea to suppress it in system headers. (This was originally changed in r134996 to implement -MG.) 2011-08-30 23:07:51 +00:00
PreprocessingRecord.cpp For the MacroExpands preprocessor callback, also pass the SourceRange 2011-08-18 01:05:45 +00:00
Preprocessor.cpp Support code-completion for C++ inline methods and ObjC buffering methods. 2011-09-04 03:32:15 +00:00
PreprocessorLexer.cpp Boost the efficiency of SourceManager::getMacroArgExpandedLocation. 2011-08-21 23:33:04 +00:00
ScratchBuffer.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
TokenConcatenation.cpp Raw string followup. Pass a couple StringRefs by value. 2011-08-11 05:10:55 +00:00
TokenLexer.cpp Silence 'may be used uninitialized' warnings. 2011-08-24 20:33:05 +00:00