[clang-tools-extra] r339685 - [clang-doc] Fix unused variable
Julie Hockett via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 14 08:39:00 PDT 2018
Author: juliehockett
Date: Tue Aug 14 08:38:59 2018
New Revision: 339685
URL: http://llvm.org/viewvc/llvm-project?rev=339685&view=rev
Log:
[clang-doc] Fix unused variable
Differential Revision: https://reviews.llvm.org/D50709
Modified:
clang-tools-extra/trunk/clang-doc/Mapper.cpp
Modified: clang-tools-extra/trunk/clang-doc/Mapper.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-doc/Mapper.cpp?rev=339685&r1=339684&r2=339685&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-doc/Mapper.cpp (original)
+++ clang-tools-extra/trunk/clang-doc/Mapper.cpp Tue Aug 14 08:38:59 2018
@@ -30,7 +30,7 @@ template <typename T> bool MapASTVisitor
return true;
// Skip function-internal decls.
- if (const DeclContext *F = D->getParentFunctionOrMethod())
+ if (D->getParentFunctionOrMethod())
return true;
llvm::SmallString<128> USR;
More information about the cfe-commits
mailing list