diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-09-22 21:11:38 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-09-22 21:11:38 +0000 |
commit | b657f115c3b4e262e72906a28cbcf3eaccd9460c (patch) | |
tree | 95502c386d41a13dd1c04b189247446b9fb8d18e /include/clang/Lex/Preprocessor.h | |
parent | add28829c7a8d3c5da9ae140f18d3c9ad2d8b599 (diff) |
Replace the -code-completion-dump option with
-code-completion-at=filename:line:column
which performs code completion at the specified location by truncating
the file at that position and enabling code completion. This approach
makes it possible to run multiple tests from a single test file, and
gives a more natural command-line interface.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82571 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Lex/Preprocessor.h')
-rw-r--r-- | include/clang/Lex/Preprocessor.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/clang/Lex/Preprocessor.h b/include/clang/Lex/Preprocessor.h index 17823cd257..0765ac391b 100644 --- a/include/clang/Lex/Preprocessor.h +++ b/include/clang/Lex/Preprocessor.h @@ -92,10 +92,6 @@ class Preprocessor { bool DisableMacroExpansion : 1; // True if macro expansion is disabled. bool InMacroArgs : 1; // True if parsing fn macro invocation args. - /// \brief True if the end-of-file of the main file should be treated as - /// a code-completion token. - bool IsMainFileEofCodeCompletion : 1; - /// Identifiers - This is mapping/lookup information for all identifiers in /// the program, including program keywords. IdentifierTable Identifiers; @@ -263,12 +259,6 @@ public: Callbacks = C; } - /// \brief Note that, for the main source file, the end-of-file should be - /// treated as a code-completion token. - void SetMainFileEofCodeCompletion() { - IsMainFileEofCodeCompletion = true; - } - /// getMacroInfo - Given an identifier, return the MacroInfo it is #defined to /// or null if it isn't #define'd. MacroInfo *getMacroInfo(IdentifierInfo *II) const { |