[clang-tools-extra] d8821ad - [clangd] Fix gcc warning about extra "; " [NFC]
Mikael Holmen via cfe-commits
cfe-commits at lists.llvm.org
Fri Dec 6 02:23:08 PST 2019
Author: Mikael Holmen
Date: 2019-12-06T11:22:48+01:00
New Revision: d8821adacbb02fe9f9707079087d35cb02ef4a6c
URL: https://github.com/llvm/llvm-project/commit/d8821adacbb02fe9f9707079087d35cb02ef4a6c
DIFF: https://github.com/llvm/llvm-project/commit/d8821adacbb02fe9f9707079087d35cb02ef4a6c.diff
LOG: [clangd] Fix gcc warning about extra ";" [NFC]
gcc complained with
/data/repo/master/clang-tools-extra/clangd/refactor/tweaks/DefineOutline.cpp:326:30: warning: extra ';' [-Wpedantic]
REGISTER_TWEAK(DefineOutline);
^
Added:
Modified:
clang-tools-extra/clangd/refactor/tweaks/DefineOutline.cpp
Removed:
################################################################################
diff --git a/clang-tools-extra/clangd/refactor/tweaks/DefineOutline.cpp b/clang-tools-extra/clangd/refactor/tweaks/DefineOutline.cpp
index f6bed9727cf1..925eb7e4ffde 100644
--- a/clang-tools-extra/clangd/refactor/tweaks/DefineOutline.cpp
+++ b/clang-tools-extra/clangd/refactor/tweaks/DefineOutline.cpp
@@ -323,7 +323,7 @@ class DefineOutline : public Tweak {
const FunctionDecl *Source = nullptr;
};
-REGISTER_TWEAK(DefineOutline);
+REGISTER_TWEAK(DefineOutline)
} // namespace
} // namespace clangd
More information about the cfe-commits
mailing list