[PATCH] D82346: [WebAssebmly] Fully disable 'protected' visibility
Sam Clegg via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 23 18:21:39 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rG5804a8b1228b: [WebAssebmly] Fully disable 'protected' visibility (authored by sbc100).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D82346/new/
https://reviews.llvm.org/D82346
Files:
clang/lib/Basic/Targets/WebAssembly.h
Index: clang/lib/Basic/Targets/WebAssembly.h
===================================================================
--- clang/lib/Basic/Targets/WebAssembly.h
+++ clang/lib/Basic/Targets/WebAssembly.h
@@ -133,11 +133,7 @@
bool hasExtIntType() const override { return true; }
- bool hasProtectedVisibility() const override {
- // TODO: For now, continue to advertise "protected" support for
- // Emscripten targets.
- return getTriple().isOSEmscripten();
- }
+ bool hasProtectedVisibility() const override { return false; }
};
class LLVM_LIBRARY_VISIBILITY WebAssembly32TargetInfo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82346.272884.patch
Type: text/x-patch
Size: 599 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200624/62f242e8/attachment.bin>
More information about the cfe-commits
mailing list