summaryrefslogtreecommitdiffstats
path: root/clang/unittests/Lex
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2012-03-06 21:18:56 +0000
committerFariborz Jahanian <fjahanian@apple.com>2012-03-06 21:18:56 +0000
commit461b7bb9e623d1a1e86a7b754ce179af2deaa52a (patch)
treefa533a320a717c79d02f2d7635393fe1359de9b3 /clang/unittests/Lex
parent64d6be979f6e82d1c9fa3b69c3333b79595ac1d2 (diff)
downloadbcm5719-llvm-461b7bb9e623d1a1e86a7b754ce179af2deaa52a.tar.gz
bcm5719-llvm-461b7bb9e623d1a1e86a7b754ce179af2deaa52a.zip
get rid of an unsued variable warning.
llvm-svn: 152146
Diffstat (limited to 'clang/unittests/Lex')
-rw-r--r--clang/unittests/Lex/LexerTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/unittests/Lex/LexerTest.cpp b/clang/unittests/Lex/LexerTest.cpp
index 56581fcc638..e43ad86ff59 100644
--- a/clang/unittests/Lex/LexerTest.cpp
+++ b/clang/unittests/Lex/LexerTest.cpp
@@ -66,7 +66,7 @@ TEST_F(LexerTest, LexAPI) {
"N(INN(val)) N(NOF1) N(NOF2) N(val)";
MemoryBuffer *buf = MemoryBuffer::getMemBuffer(source);
- FileID mainFileID = SourceMgr.createMainFileIDForMemBuffer(buf);
+ (void)SourceMgr.createMainFileIDForMemBuffer(buf);
VoidModuleLoader ModLoader;
HeaderSearch HeaderInfo(FileMgr, Diags, LangOpts, Target.getPtr());
OpenPOWER on IntegriCloud