r337285 - Remove superfluous ; to fix -Wpedantic warning from gcc
Nico Weber via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 17 07:20:02 PDT 2018
Author: nico
Date: Tue Jul 17 07:20:02 2018
New Revision: 337285
URL: http://llvm.org/viewvc/llvm-project?rev=337285&view=rev
Log:
Remove superfluous ; to fix -Wpedantic warning from gcc
Modified:
cfe/trunk/unittests/AST/ASTImporterTest.cpp
Modified: cfe/trunk/unittests/AST/ASTImporterTest.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/unittests/AST/ASTImporterTest.cpp?rev=337285&r1=337284&r2=337285&view=diff
==============================================================================
--- cfe/trunk/unittests/AST/ASTImporterTest.cpp (original)
+++ cfe/trunk/unittests/AST/ASTImporterTest.cpp Tue Jul 17 07:20:02 2018
@@ -276,7 +276,7 @@ public:
template <typename T> RecordDecl *getRecordDecl(T *D) {
auto *ET = cast<ElaboratedType>(D->getType().getTypePtr());
return cast<RecordType>(ET->getNamedType().getTypePtr())->getDecl();
-};
+}
// This class provides generic methods to write tests which can check internal
// attributes of AST nodes like getPreviousDecl(), isVirtual(), etc. Also,
More information about the cfe-commits
mailing list