forked from OSchip/llvm-project
Add ATTRIBUTE_UNUSED to silence unused-function warning in release
builds. llvm-svn: 190061
This commit is contained in:
parent
c209d6aa3e
commit
3b203a65c2
|
@ -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(),
|
||||
|
|
Loading…
Reference in New Issue