diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2019-01-19 10:04:05 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2019-01-19 10:04:05 +0000 |
commit | 676fbe8105eeb6ff4bb2ed261cb212fcfdbe7b63 (patch) | |
tree | 02a1ac369cb734d0abfa5000dd86e5b7797e6a74 /include/clang/Lex/TokenConcatenation.h | |
parent | c7e70c433efc6953dc3888b9fbf9f3512d7da2b0 (diff) |
Diffstat (limited to 'include/clang/Lex/TokenConcatenation.h')
-rw-r--r-- | include/clang/Lex/TokenConcatenation.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/clang/Lex/TokenConcatenation.h b/include/clang/Lex/TokenConcatenation.h index 60c182b509a4d..3199e36f0d269 100644 --- a/include/clang/Lex/TokenConcatenation.h +++ b/include/clang/Lex/TokenConcatenation.h @@ -29,7 +29,7 @@ namespace clang { /// and ")" next to each other is safe. /// class TokenConcatenation { - Preprocessor &PP; + const Preprocessor &PP; enum AvoidConcatInfo { /// By default, a token never needs to avoid concatenation. Most tokens @@ -56,7 +56,7 @@ namespace clang { /// method. char TokenInfo[tok::NUM_TOKENS]; public: - TokenConcatenation(Preprocessor &PP); + TokenConcatenation(const Preprocessor &PP); bool AvoidConcat(const Token &PrevPrevTok, const Token &PrevTok, |