summaryrefslogtreecommitdiffstats
path: root/clang/include/clang/Lex/PTHLexer.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/include/clang/Lex/PTHLexer.h')
-rw-r--r--clang/include/clang/Lex/PTHLexer.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/include/clang/Lex/PTHLexer.h b/clang/include/clang/Lex/PTHLexer.h
index bdaba760cf3..5118c5c7bec 100644
--- a/clang/include/clang/Lex/PTHLexer.h
+++ b/clang/include/clang/Lex/PTHLexer.h
@@ -60,6 +60,11 @@ public:
/// ReadToEndOfLine - Read the rest of the current preprocessor line as an
/// uninterpreted string. This switches the lexer out of directive mode.
void DiscardToEndOfLine();
+
+ /// isNextPPTokenLParen - Return 1 if the next unexpanded token will return a
+ /// tok::l_paren token, 0 if it is something else and 2 if there are no more
+ /// tokens controlled by this lexer.
+ unsigned isNextPPTokenLParen();
};
} // end namespace clang
OpenPOWER on IntegriCloud