Skip to content

Commit 57763b7

Browse files
committed
Fix-forward excess ';' from 9459c83 (#134632)
clang/lib/CodeGen/CGDebugInfo.cpp:153:2: error: extra ';' outside of a function is incompatible with C++98 [-Werror,-Wc++98-compat-extra-semi] 153 | }; | ^ 1 error generated.
1 parent 94142d9 commit 57763b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/CodeGen/CGDebugInfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ void CGDebugInfo::addInstSourceAtomMetadata(llvm::Instruction *I,
150150
I->getContext(), DL.getLine(), DL.getCol(), DL.getScope(),
151151
DL.getInlinedAt(), DL.isImplicitCode(), Group, Rank);
152152
I->setDebugLoc(NewDL);
153-
};
153+
}
154154

155155
void CGDebugInfo::addInstToCurrentSourceAtom(llvm::Instruction *KeyInstruction,
156156
llvm::Value *Backup) {

0 commit comments

Comments
 (0)