forked from OSchip/llvm-project
[WebAssebmly] Fully disable 'protected' visibility
Emscripten doesn't use protected visibility either. Differential Revision: https://reviews.llvm.org/D82346
This commit is contained in:
parent
e7f7137cd7
commit
5804a8b122
|
@ -133,11 +133,7 @@ private:
|
||||||
|
|
||||||
bool hasExtIntType() const override { return true; }
|
bool hasExtIntType() const override { return true; }
|
||||||
|
|
||||||
bool hasProtectedVisibility() const override {
|
bool hasProtectedVisibility() const override { return false; }
|
||||||
// TODO: For now, continue to advertise "protected" support for
|
|
||||||
// Emscripten targets.
|
|
||||||
return getTriple().isOSEmscripten();
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
class LLVM_LIBRARY_VISIBILITY WebAssembly32TargetInfo
|
class LLVM_LIBRARY_VISIBILITY WebAssembly32TargetInfo
|
||||||
|
|
Loading…
Reference in New Issue