aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/Lexer.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2020-06-20 01:14:57 -0700
committerEric Christopher <echristo@gmail.com>2020-06-20 01:15:32 -0700
commit1f593f46f35b3afb1ba6e4700285cf8fd1b81bc7 (patch)
treeeefae6ffe3ce4943e2709ac7ecf0dd8bee5170cc /clang/lib/Lex/Lexer.cpp
parentb32401464f4c9c9d43a3ddcb351cb6c7c713fdb4 (diff)
downloadllvm-1f593f46f35b3afb1ba6e4700285cf8fd1b81bc7.zip
llvm-1f593f46f35b3afb1ba6e4700285cf8fd1b81bc7.tar.gz
llvm-1f593f46f35b3afb1ba6e4700285cf8fd1b81bc7.tar.bz2
[AST/Lex/Parse/Sema] As part of using inclusive language within
the llvm project, migrate away from the use of blacklist and whitelist.
Diffstat (limited to 'clang/lib/Lex/Lexer.cpp')
-rw-r--r--clang/lib/Lex/Lexer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Lex/Lexer.cpp b/clang/lib/Lex/Lexer.cpp
index 0162631..a559ca3 100644
--- a/clang/lib/Lex/Lexer.cpp
+++ b/clang/lib/Lex/Lexer.cpp
@@ -1862,7 +1862,7 @@ const char *Lexer::LexUDSuffix(Token &Result, const char *CurPtr,
char Next = getCharAndSizeNoWarn(CurPtr + Consumed, NextSize,
getLangOpts());
if (!isIdentifierBody(Next)) {
- // End of suffix. Check whether this is on the whitelist.
+ // End of suffix. Check whether this is on the allowed list.
const StringRef CompleteSuffix(Buffer, Chars);
IsUDSuffix = StringLiteralParser::isValidUDSuffix(getLangOpts(),
CompleteSuffix);