summaryrefslogtreecommitdiffstats
path: root/include/clang/Lex
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2017-10-15 04:27:37 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2017-10-15 04:27:37 +0000
commitef29d1880145e6354858968ee8993d4e1aabdf4b (patch)
treeeddeaf7941648331ab7974a018af9669c5e03da1 /include/clang/Lex
parent47036068ec0496da7accc52d18aee7809e911dfb (diff)
[Lex] Remove unused variables. No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@315845 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Lex')
-rw-r--r--include/clang/Lex/VariadicMacroSupport.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/clang/Lex/VariadicMacroSupport.h b/include/clang/Lex/VariadicMacroSupport.h
index fae0063a4e..cebaf15187 100644
--- a/include/clang/Lex/VariadicMacroSupport.h
+++ b/include/clang/Lex/VariadicMacroSupport.h
@@ -69,8 +69,6 @@ namespace clang {
/// \brief A class for tracking whether we're inside a VA_OPT during a
/// traversal of the tokens of a variadic macro definition.
class VAOptDefinitionContext {
- Preprocessor &PP;
-
/// Contains all the locations of so far unmatched lparens.
SmallVector<SourceLocation, 8> UnmatchedOpeningParens;
@@ -79,7 +77,7 @@ namespace clang {
public:
VAOptDefinitionContext(Preprocessor &PP)
- : PP(PP), Ident__VA_OPT__(PP.Ident__VA_OPT__) {}
+ : Ident__VA_OPT__(PP.Ident__VA_OPT__) {}
bool isVAOptToken(const Token &T) const {
return Ident__VA_OPT__ && T.getIdentifierInfo() == Ident__VA_OPT__;