summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/LowerSwitch.cpp
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2018-05-05 20:14:38 +0000
committerFangrui Song <maskray@google.com>2018-05-05 20:14:38 +0000
commit862eebb6d6dcab31b2bcac6717d928bfc3ed5caa (patch)
tree50b6e406296959cef41a22509b7392e8c5ae9123 /llvm/lib/Transforms/Utils/LowerSwitch.cpp
parenta383c94ccd633e5f62851f9ecc2d4af0e07e0bd4 (diff)
downloadbcm5719-llvm-862eebb6d6dcab31b2bcac6717d928bfc3ed5caa.tar.gz
bcm5719-llvm-862eebb6d6dcab31b2bcac6717d928bfc3ed5caa.zip
Simplify LLVM_ATTRIBUTE_USED call sites.
llvm-svn: 331599
Diffstat (limited to 'llvm/lib/Transforms/Utils/LowerSwitch.cpp')
-rw-r--r--llvm/lib/Transforms/Utils/LowerSwitch.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/llvm/lib/Transforms/Utils/LowerSwitch.cpp b/llvm/lib/Transforms/Utils/LowerSwitch.cpp
index efdc04a8d7d..8643ad8cb00 100644
--- a/llvm/lib/Transforms/Utils/LowerSwitch.cpp
+++ b/llvm/lib/Transforms/Utils/LowerSwitch.cpp
@@ -155,11 +155,8 @@ bool LowerSwitch::runOnFunction(Function &F) {
}
/// Used for debugging purposes.
-static raw_ostream& operator<<(raw_ostream &O,
- const LowerSwitch::CaseVector &C)
- LLVM_ATTRIBUTE_USED;
-
-static raw_ostream& operator<<(raw_ostream &O,
+LLVM_ATTRIBUTE_USED
+static raw_ostream &operator<<(raw_ostream &O,
const LowerSwitch::CaseVector &C) {
O << "[";
OpenPOWER on IntegriCloud