@@ -1366,7 +1366,7 @@ static bool typeListMatches(ASTContext &Context, FunctionDecl *FD,
13661366}
13671367
13681368FunctionDecl *Sema::tryFunctionLookUpInPragma (NestedNameSpecifier *NestedName,
1369- SourceLocation NameLoc) {
1369+ SourceLocation NameLoc) {
13701370 assert (!NestedName->getPrefix () ||
13711371 NestedName->getPrefix ()->getKind () == NestedNameSpecifier::Identifier);
13721372 IdentifierInfo *Prefix =
@@ -1396,8 +1396,9 @@ FunctionDecl *Sema::tryFunctionLookUpInPragma(NestedNameSpecifier *NestedName,
13961396 return nullptr ;
13971397}
13981398
1399- NamedDecl *Sema::trySymbolLookUpInPragma (NestedNameSpecifier *NestedName,
1400- const clang::Sema::SymbolLabel &Label) {
1399+ NamedDecl *
1400+ Sema::trySymbolLookUpInPragma (NestedNameSpecifier *NestedName,
1401+ const clang::Sema::SymbolLabel &Label) {
14011402
14021403 assert (!NestedName->getPrefix () ||
14031404 NestedName->getPrefix ()->getKind () == NestedNameSpecifier::Identifier);
@@ -1428,7 +1429,8 @@ NamedDecl *Sema::trySymbolLookUpInPragma(NestedNameSpecifier *NestedName,
14281429
14291430 // All function parameters must match if specified in pragma otherwise,
14301431 // we accept a function found by lookup only if it's the only one.
1431- if ((Label.TypeList .has_value () && typeListMatches (Context, FD, Label)) ||
1432+ if ((Label.TypeList .has_value () &&
1433+ typeListMatches (Context, FD, Label)) ||
14321434 (!Label.TypeList .has_value () && LRes.isSingleResult ()))
14331435 return FD;
14341436 }
0 commit comments