mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-27 00:36:05 +00:00
[clang][Parse][NFC] Make a local variable const
This commit is contained in:
parent
777eb35614
commit
9fc890b5a0
@ -2404,7 +2404,7 @@ VirtSpecifiers::Specifier Parser::isCXX11VirtSpecifier(const Token &Tok) const {
|
||||
if (!getLangOpts().CPlusPlus || Tok.isNot(tok::identifier))
|
||||
return VirtSpecifiers::VS_None;
|
||||
|
||||
IdentifierInfo *II = Tok.getIdentifierInfo();
|
||||
const IdentifierInfo *II = Tok.getIdentifierInfo();
|
||||
|
||||
// Initialize the contextual keywords.
|
||||
if (!Ident_final) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user