[llvm-commits] CVS: llvm/utils/TableGen/FileLexer.cpp.cvs FileLexer.l FileLexer.l.cvs

Chris Lattner lattner at cs.uiuc.edu
Fri Mar 3 11:34:40 PST 2006



Changes in directory llvm/utils/TableGen:

FileLexer.cpp.cvs updated: 1.3 -> 1.4
FileLexer.l updated: 1.27 -> 1.28
FileLexer.l.cvs updated: 1.2 -> 1.3
---
Log message:

Silence a warning.


---
Diffs of the changes:  (+4 -4)

 FileLexer.cpp.cvs |    4 ++--
 FileLexer.l       |    2 +-
 FileLexer.l.cvs   |    2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)


Index: llvm/utils/TableGen/FileLexer.cpp.cvs
diff -u llvm/utils/TableGen/FileLexer.cpp.cvs:1.3 llvm/utils/TableGen/FileLexer.cpp.cvs:1.4
--- llvm/utils/TableGen/FileLexer.cpp.cvs:1.3	Thu Mar  2 19:47:37 2006
+++ llvm/utils/TableGen/FileLexer.cpp.cvs	Fri Mar  3 13:34:28 2006
@@ -21,7 +21,7 @@
 /* A lexical scanner generated by flex */
 
 /* Scanner skeleton version:
- * $Header: /var/cvs/llvm/llvm/utils/TableGen/FileLexer.cpp.cvs,v 1.3 2006/03/03 01:47:37 lattner Exp $
+ * $Header: /var/cvs/llvm/llvm/utils/TableGen/FileLexer.cpp.cvs,v 1.4 2006/03/03 19:34:28 lattner Exp $
  */
 
 #define FLEX_SCANNER
@@ -609,7 +609,7 @@
     std::string NextFilename;
     for (unsigned i = 0, e = IncludeDirectories.size(); i != e; ++i) {
       NextFilename = IncludeDirectories[i] + "/" + Filename;
-      if (yyin = fopen(NextFilename.c_str(), "r"))
+      if ((yyin = fopen(NextFilename.c_str(), "r")))
         break;
     }
     


Index: llvm/utils/TableGen/FileLexer.l
diff -u llvm/utils/TableGen/FileLexer.l:1.27 llvm/utils/TableGen/FileLexer.l:1.28
--- llvm/utils/TableGen/FileLexer.l:1.27	Thu Mar  2 19:47:14 2006
+++ llvm/utils/TableGen/FileLexer.l	Fri Mar  3 13:34:28 2006
@@ -128,7 +128,7 @@
     std::string NextFilename;
     for (unsigned i = 0, e = IncludeDirectories.size(); i != e; ++i) {
       NextFilename = IncludeDirectories[i] + "/" + Filename;
-      if (yyin = fopen(NextFilename.c_str(), "r"))
+      if ((yyin = fopen(NextFilename.c_str(), "r")))
         break;
     }
     


Index: llvm/utils/TableGen/FileLexer.l.cvs
diff -u llvm/utils/TableGen/FileLexer.l.cvs:1.2 llvm/utils/TableGen/FileLexer.l.cvs:1.3
--- llvm/utils/TableGen/FileLexer.l.cvs:1.2	Thu Mar  2 19:47:37 2006
+++ llvm/utils/TableGen/FileLexer.l.cvs	Fri Mar  3 13:34:28 2006
@@ -128,7 +128,7 @@
     std::string NextFilename;
     for (unsigned i = 0, e = IncludeDirectories.size(); i != e; ++i) {
       NextFilename = IncludeDirectories[i] + "/" + Filename;
-      if (yyin = fopen(NextFilename.c_str(), "r"))
+      if ((yyin = fopen(NextFilename.c_str(), "r")))
         break;
     }
     






More information about the llvm-commits mailing list