File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -157,10 +157,10 @@ unsigned AttributeCommonInfo::calculateAttributeSpellingListIndex() const {
157157 // Both variables will be used in tablegen generated
158158 // attribute spell list index matching code.
159159 auto Syntax = static_cast <AttributeCommonInfo::Syntax>(getSyntax ());
160- // We use std::string instead of StringRef to prevent local stack
160+ // We use std::string instead of StringRef to prevent local stack
161161 // allocation of literal strings for comparison.
162- const std::string Scope = normalizeAttrScopeName (getScopeName (), Syntax);
163- const std::string Name = normalizeAttrName (getAttrName (), Scope, Syntax);
162+ const std::string Scope ( normalizeAttrScopeName (getScopeName (), Syntax) );
163+ const std::string Name ( normalizeAttrName (getAttrName (), Scope, Syntax) );
164164
165165#include " clang/Sema/AttrSpellingListIndex.inc"
166166}
You can’t perform that action at this time.
0 commit comments