[cfe-commits] r158343 - /cfe/trunk/lib/AST/Expr.cpp
Dmitri Gribenko
gribozavr at gmail.com
Mon Jun 11 17:43:20 PDT 2012
Author: gribozavr
Date: Mon Jun 11 19:43:19 2012
New Revision: 158343
URL: http://llvm.org/viewvc/llvm-project?rev=158343&view=rev
Log:
Remove unused variable.
Modified:
cfe/trunk/lib/AST/Expr.cpp
Modified: cfe/trunk/lib/AST/Expr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/Expr.cpp?rev=158343&r1=158342&r2=158343&view=diff
==============================================================================
--- cfe/trunk/lib/AST/Expr.cpp (original)
+++ cfe/trunk/lib/AST/Expr.cpp Mon Jun 11 19:43:19 2012
@@ -702,11 +702,6 @@
const char *StrData = Buffer.data()+LocInfo.second;
- // Create a langops struct and enable trigraphs. This is sufficient for
- // relexing tokens.
- LangOptions LangOpts;
- LangOpts.Trigraphs = true;
-
// Create a lexer starting at the beginning of this token.
Lexer TheLexer(SM.getLocForStartOfFile(LocInfo.first), Features,
Buffer.begin(), StrData, Buffer.end());
More information about the cfe-commits
mailing list