]> granicus.if.org Git - clang/commitdiff
Remove superfluous ; to fix -Wpedantic warning from gcc
authorNico Weber <nicolasweber@gmx.de>
Tue, 17 Jul 2018 14:20:02 +0000 (14:20 +0000)
committerNico Weber <nicolasweber@gmx.de>
Tue, 17 Jul 2018 14:20:02 +0000 (14:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@337285 91177308-0d34-0410-b5e6-96231b3b80d8

unittests/AST/ASTImporterTest.cpp

index 84bfdadae2db1892ab38ebf399d43576ea7ecf96..21b76173c1057f53f718170152a219498ec1c489 100644 (file)
@@ -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,