Skip to content

Commit 06407c5

Browse files
committed
Fix the test on Windows
1 parent 6ee7567 commit 06407c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ bool isPtrConversion(const FunctionDecl *F) {
425425
}
426426

427427
bool isTrivialBuiltinFunction(const FunctionDecl *F) {
428-
if (!F)
428+
if (!F || !F->getDeclName().isIdentifier())
429429
return false;
430430
auto Name = F->getName();
431431
return Name.starts_with("__builtin") || Name == "__libcpp_verbose_abort" ||

0 commit comments

Comments
 (0)