aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CGDebugInfo.cpp
diff options
context:
space:
mode:
authorThurston Dang <thurston@google.com>2025-05-21 17:05:58 +0000
committerThurston Dang <thurston@google.com>2025-05-21 17:05:58 +0000
commit57763b7c6481daed40f412d4b302cc7479a9839e (patch)
treeb55f6e89f70cd67c7168fc89b9d2697ea0a0ba90 /clang/lib/CodeGen/CGDebugInfo.cpp
parent94142d9bb08c523802cbfb3c316fc2ae9bb33b60 (diff)
downloadllvm-57763b7c6481daed40f412d4b302cc7479a9839e.zip
llvm-57763b7c6481daed40f412d4b302cc7479a9839e.tar.gz
llvm-57763b7c6481daed40f412d4b302cc7479a9839e.tar.bz2
Fix-forward excess ';' from 9459c8309c6768cf6aa7956885b2540e16582a93 (#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.
Diffstat (limited to 'clang/lib/CodeGen/CGDebugInfo.cpp')
-rw-r--r--clang/lib/CodeGen/CGDebugInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp
index 1cc2c55..3d20756 100644
--- a/clang/lib/CodeGen/CGDebugInfo.cpp
+++ b/clang/lib/CodeGen/CGDebugInfo.cpp
@@ -150,7 +150,7 @@ void CGDebugInfo::addInstSourceAtomMetadata(llvm::Instruction *I,
I->getContext(), DL.getLine(), DL.getCol(), DL.getScope(),
DL.getInlinedAt(), DL.isImplicitCode(), Group, Rank);
I->setDebugLoc(NewDL);
-};
+}
void CGDebugInfo::addInstToCurrentSourceAtom(llvm::Instruction *KeyInstruction,
llvm::Value *Backup) {