projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c209d6a
)
Add ATTRIBUTE_UNUSED to silence unused-function warning in release
author
Daniel Jasper
<djasper@google.com>
Thu, 5 Sep 2013 16:05:56 +0000
(16:05 +0000)
committer
Daniel Jasper
<djasper@google.com>
Thu, 5 Sep 2013 16:05:56 +0000
(16:05 +0000)
builds.
llvm-svn: 190061
clang/lib/Format/UnwrappedLineParser.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/Format/UnwrappedLineParser.cpp
b/clang/lib/Format/UnwrappedLineParser.cpp
index
766e1d8
..
814ccf4
100644
(file)
--- a/
clang/lib/Format/UnwrappedLineParser.cpp
+++ b/
clang/lib/Format/UnwrappedLineParser.cpp
@@
-1201,7
+1201,8
@@
void UnwrappedLineParser::parseObjCProtocol() {
parseObjCUntilAtEnd();
}
-static void printDebugInfo(const UnwrappedLine &Line, StringRef Prefix = "") {
+LLVM_ATTRIBUTE_UNUSED static void printDebugInfo(const UnwrappedLine &Line,
+ StringRef Prefix = "") {
llvm::dbgs() << Prefix << "Line(" << Line.Level << ")"
<< (Line.InPPDirective ? " MACRO" : "") << ": ";
for (std::list<UnwrappedLineNode>::const_iterator I = Line.Tokens.begin(),