Skip to content

Commit e9b5162

Browse files
committed
fix __alignof mangling
1 parent 556e08a commit e9b5162

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/AST/ItaniumMangle.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5349,7 +5349,7 @@ void CXXNameMangler::mangleExpression(const Expr *E, unsigned Arity,
53495349
// have acted differently since Clang 8, but were previously mangled the
53505350
// same.)
53515351
if (!isCompatibleWith(LangOptions::ClangABI::Ver11)) {
5352-
MangleExtensionBuiltin(SAE, "__alignof");
5352+
MangleExtensionBuiltin(SAE, "__alignof__");
53535353
break;
53545354
}
53555355
[[fallthrough]];

0 commit comments

Comments
 (0)