diff options
author | Mike Stump <mrs@apple.com> | 2009-07-27 23:33:34 +0000 |
---|---|---|
committer | Mike Stump <mrs@apple.com> | 2009-07-27 23:33:34 +0000 |
commit | 66ad89cebaecd7d88d9e723170c2b55fadd76b71 (patch) | |
tree | 8980ee5b623de39f37cc60bb104a483aeb56ee94 /lib/Transforms/Utils/LowerSwitch.cpp | |
parent | b6dec1bdd6f6d33310879e6bbc3120f719c97483 (diff) |
Fix a release-asserts warning. Debug functions should be marked used,
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
Diffstat (limited to 'lib/Transforms/Utils/LowerSwitch.cpp')
-rw-r--r-- | lib/Transforms/Utils/LowerSwitch.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Transforms/Utils/LowerSwitch.cpp b/lib/Transforms/Utils/LowerSwitch.cpp index 17e40e1a23..5c20a81a5a 100644 --- 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 << "["; |