[PATCH] D69427: Fix compilation error in clangd/refactor/tweaks/ExpandAutoType.cpp
Kadir Cetinkaya via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 25 05:22:46 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rGce1e249a688d: Fix compilation error in clangd/refactor/tweaks/ExpandAutoType.cpp (authored by kadircet).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D69427/new/
https://reviews.llvm.org/D69427
Files:
clang-tools-extra/clangd/refactor/tweaks/ExpandAutoType.cpp
Index: clang-tools-extra/clangd/refactor/tweaks/ExpandAutoType.cpp
===================================================================
--- clang-tools-extra/clangd/refactor/tweaks/ExpandAutoType.cpp
+++ clang-tools-extra/clangd/refactor/tweaks/ExpandAutoType.cpp
@@ -82,7 +82,7 @@
}
// if it's a lambda expression, return an error message
- if (isa<RecordType>(*DeducedType) and
+ if (isa<RecordType>(*DeducedType) &&
dyn_cast<RecordType>(*DeducedType)->getDecl()->isLambda()) {
return createErrorMessage("Could not expand type of lambda expression",
Inputs);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69427.226416.patch
Type: text/x-patch
Size: 613 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191025/b5790798/attachment.bin>
More information about the cfe-commits
mailing list