aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Index/USRGeneration.cpp
diff options
context:
space:
mode:
authorMichael Liao <michael.hliao@gmail.com>2020-03-08 12:59:21 -0400
committerMichael Liao <michael.hliao@gmail.com>2020-03-08 13:00:36 -0400
commit073dbaae39724ea860b5957fe47ecc1c2a84b197 (patch)
tree310a4d24870c0b1f4fff636501a368056df29687 /clang/lib/Index/USRGeneration.cpp
parentbe5435e0328176e5bb3dec487578d2e54699bbaf (diff)
downloadllvm-073dbaae39724ea860b5957fe47ecc1c2a84b197.zip
llvm-073dbaae39724ea860b5957fe47ecc1c2a84b197.tar.gz
llvm-073dbaae39724ea860b5957fe47ecc1c2a84b197.tar.bz2
Fix GCC warnings. NFC.
Diffstat (limited to 'clang/lib/Index/USRGeneration.cpp')
-rw-r--r--clang/lib/Index/USRGeneration.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Index/USRGeneration.cpp b/clang/lib/Index/USRGeneration.cpp
index f3eb653..7972d0a 100644
--- a/clang/lib/Index/USRGeneration.cpp
+++ b/clang/lib/Index/USRGeneration.cpp
@@ -388,7 +388,7 @@ static const ObjCCategoryDecl *getCategoryContext(const NamedDecl *D) {
if (auto *ICD = dyn_cast<ObjCCategoryImplDecl>(D->getDeclContext()))
return ICD->getCategoryDecl();
return nullptr;
-};
+}
void USRGenerator::VisitObjCMethodDecl(const ObjCMethodDecl *D) {
const DeclContext *container = D->getDeclContext();