summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PIC16
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2010-05-11 20:16:09 +0000
committerDuncan Sands <baldrick@free.fr>2010-05-11 20:16:09 +0000
commit6c5e4355bbda4ef15dc753c140a8a04e425b806c (patch)
tree5cfe3c60863377006a0a0e31e23ab05eac6dd1fe /llvm/lib/Target/PIC16
parentaf260b994553b9bcccacf3b057dbfdf79a3ab4b1 (diff)
downloadbcm5719-llvm-6c5e4355bbda4ef15dc753c140a8a04e425b806c.tar.gz
bcm5719-llvm-6c5e4355bbda4ef15dc753c140a8a04e425b806c.zip
I got tired of VISIBILITY_HIDDEN colliding with the gcc enum. Rename it
to LLVM_LIBRARY_VISIBILITY and introduce LLVM_GLOBAL_VISIBILITY, which is the opposite, for future use by dragonegg. llvm-svn: 103495
Diffstat (limited to 'llvm/lib/Target/PIC16')
-rw-r--r--llvm/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.h2
-rw-r--r--llvm/lib/Target/PIC16/PIC16ISelDAGToDAG.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.h b/llvm/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.h
index a424c270aaa..aa2e1f4f486 100644
--- a/llvm/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.h
+++ b/llvm/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.h
@@ -29,7 +29,7 @@
#include <string>
namespace llvm {
- class VISIBILITY_HIDDEN PIC16AsmPrinter : public AsmPrinter {
+ class LLVM_LIBRARY_VISIBILITY PIC16AsmPrinter : public AsmPrinter {
public:
explicit PIC16AsmPrinter(TargetMachine &TM, MCStreamer &Streamer);
private:
diff --git a/llvm/lib/Target/PIC16/PIC16ISelDAGToDAG.h b/llvm/lib/Target/PIC16/PIC16ISelDAGToDAG.h
index f1fcec5bad9..ecaddd3cff8 100644
--- a/llvm/lib/Target/PIC16/PIC16ISelDAGToDAG.h
+++ b/llvm/lib/Target/PIC16/PIC16ISelDAGToDAG.h
@@ -26,7 +26,7 @@ using namespace llvm;
namespace {
-class VISIBILITY_HIDDEN PIC16DAGToDAGISel : public SelectionDAGISel {
+class LLVM_LIBRARY_VISIBILITY PIC16DAGToDAGISel : public SelectionDAGISel {
/// TM - Keep a reference to PIC16TargetMachine.
const PIC16TargetMachine &TM;
OpenPOWER on IntegriCloud