[PATCH] D108360: [clang][NFC] Remove dead code
Andy Wingo via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 20 03:16:37 PDT 2021
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGeb3af1e77341: [clang][NFC] Remove dead code (authored by wingo).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D108360/new/
https://reviews.llvm.org/D108360
Files:
clang/lib/Sema/SemaType.cpp
Index: clang/lib/Sema/SemaType.cpp
===================================================================
--- clang/lib/Sema/SemaType.cpp
+++ clang/lib/Sema/SemaType.cpp
@@ -8310,10 +8310,6 @@
attr.getMacroExpansionLoc());
}
}
-
- if (!state.getSema().getLangOpts().OpenCL ||
- type.getAddressSpace() != LangAS::Default)
- return;
}
void Sema::completeExprArrayBound(Expr *E) {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108360.373532.patch
Type: text/x-patch
Size: 407 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210920/2280cd77/attachment.bin>
More information about the cfe-commits
mailing list