Don't use LLVM_LIBRARY_VISIBILITY in cpp files.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231831 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Benjamin Kramer 2015-03-10 20:07:44 +00:00
parent 84e6358ea0
commit fede77ae26

View File

@ -35,7 +35,8 @@ namespace llvm {
void initializeNVPTXLowerStructArgsPass(PassRegistry &);
}
class LLVM_LIBRARY_VISIBILITY NVPTXLowerStructArgs : public FunctionPass {
namespace {
class NVPTXLowerStructArgs : public FunctionPass {
bool runOnFunction(Function &F) override;
void handleStructPtrArgs(Function &);
@ -48,6 +49,7 @@ public:
return "Copy structure (byval *) arguments to stack";
}
};
} // namespace
char NVPTXLowerStructArgs::ID = 1;