OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6dec1b
)
Fix a release-asserts warning. Debug functions should be marked used,
author
Mike Stump
<mrs@apple.com>
Mon, 27 Jul 2009 23:33:34 +0000
(23:33 +0000)
committer
Mike Stump
<mrs@apple.com>
Mon, 27 Jul 2009 23:33:34 +0000
(23:33 +0000)
if there are no other uses. If people don't need this routine
anymore, if should be deleted.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77274
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Utils/LowerSwitch.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Utils/LowerSwitch.cpp
b/lib/Transforms/Utils/LowerSwitch.cpp
index
17e40e1
..
5c20a81
100644
(file)
--- a/
lib/Transforms/Utils/LowerSwitch.cpp
+++ b/
lib/Transforms/Utils/LowerSwitch.cpp
@@
-110,6
+110,8
@@
bool LowerSwitch::runOnFunction(Function &F) {
// operator<< - Used for debugging purposes.
//
static raw_ostream& operator<<(raw_ostream &O,
+ const LowerSwitch::CaseVector &C) __attribute((used));
+static raw_ostream& operator<<(raw_ostream &O,
const LowerSwitch::CaseVector &C) {
O << "[";