diff options
| author | Nick Lewycky <nicholas@mxc.ca> | 2009-10-25 06:33:48 +0000 |
|---|---|---|
| committer | Nick Lewycky <nicholas@mxc.ca> | 2009-10-25 06:33:48 +0000 |
| commit | 02d5f77d262152db2eb82164fd4246d60217024a (patch) | |
| tree | aa5d3d13f0e945f7f9921e18f20f79b809f01140 /llvm/lib/Target/Alpha | |
| parent | 13b8b56dd42f3a2e3419151653473be0f05129e5 (diff) | |
| download | bcm5719-llvm-02d5f77d262152db2eb82164fd4246d60217024a.tar.gz bcm5719-llvm-02d5f77d262152db2eb82164fd4246d60217024a.zip | |
Remove VISIBILITY_HIDDEN from class/struct found inside anonymous namespaces.
Chris claims we should never have visibility_hidden inside any .cpp file but
that's still not true even after this commit.
llvm-svn: 85042
Diffstat (limited to 'llvm/lib/Target/Alpha')
| -rw-r--r-- | llvm/lib/Target/Alpha/AlphaBranchSelector.cpp | 2 | ||||
| -rw-r--r-- | llvm/lib/Target/Alpha/AlphaCodeEmitter.cpp | 3 | ||||
| -rw-r--r-- | llvm/lib/Target/Alpha/AsmPrinter/AlphaAsmPrinter.cpp | 2 |
3 files changed, 3 insertions, 4 deletions
diff --git a/llvm/lib/Target/Alpha/AlphaBranchSelector.cpp b/llvm/lib/Target/Alpha/AlphaBranchSelector.cpp index 719ffaec3ea..dd94bc995e3 100644 --- a/llvm/lib/Target/Alpha/AlphaBranchSelector.cpp +++ b/llvm/lib/Target/Alpha/AlphaBranchSelector.cpp @@ -21,7 +21,7 @@ using namespace llvm; namespace { - struct VISIBILITY_HIDDEN AlphaBSel : public MachineFunctionPass { + struct AlphaBSel : public MachineFunctionPass { static char ID; AlphaBSel() : MachineFunctionPass(&ID) {} diff --git a/llvm/lib/Target/Alpha/AlphaCodeEmitter.cpp b/llvm/lib/Target/Alpha/AlphaCodeEmitter.cpp index 8023add9791..ea828c804c7 100644 --- a/llvm/lib/Target/Alpha/AlphaCodeEmitter.cpp +++ b/llvm/lib/Target/Alpha/AlphaCodeEmitter.cpp @@ -50,8 +50,7 @@ namespace { }; template <class CodeEmitter> - class VISIBILITY_HIDDEN Emitter : public MachineFunctionPass, - public AlphaCodeEmitter + class Emitter : public MachineFunctionPass, public AlphaCodeEmitter { const AlphaInstrInfo *II; TargetMachine &TM; diff --git a/llvm/lib/Target/Alpha/AsmPrinter/AlphaAsmPrinter.cpp b/llvm/lib/Target/Alpha/AsmPrinter/AlphaAsmPrinter.cpp index d8e8b79f539..d7697461587 100644 --- a/llvm/lib/Target/Alpha/AsmPrinter/AlphaAsmPrinter.cpp +++ b/llvm/lib/Target/Alpha/AsmPrinter/AlphaAsmPrinter.cpp @@ -37,7 +37,7 @@ using namespace llvm; STATISTIC(EmittedInsts, "Number of machine instrs printed"); namespace { - struct VISIBILITY_HIDDEN AlphaAsmPrinter : public AsmPrinter { + struct AlphaAsmPrinter : public AsmPrinter { /// Unique incrementer for label values for referencing Global values. /// |

