summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/TGLexer.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Change the MemoryBuffer::getFile* methods to take just a pointer to theChris Lattner2008-04-011-2/+2
| | | | | | | | start of a filename, not a filename+length. All clients can produce a null terminated name, and the system api's require null terminated strings anyway. llvm-svn: 49041
* Unbreak build with gcc 4.3: provide missed includes and silence most ↵Anton Korobeynikov2008-02-201-0/+2
| | | | | | annoying warnings. llvm-svn: 47367
* remove attributions from utils.Chris Lattner2007-12-291-2/+2
| | | | llvm-svn: 45419
* Rewrite the tblgen parser in a recursive descent style, eliminating the ↵Chris Lattner2007-11-221-139/+87
| | | | | | | | | | | | bison parser. This makes the parser much easier to understand, eliminates a ton of global variables, and gives tblgen nice caret diagnostics. It is also faster, but tblgen probably doesn't care about performance. There are a couple of FIXMEs which I will take care of next. llvm-svn: 44274
* Switching back to strtoll. Including config.h. On VStudio builds, this ↵Chuck Rose III2007-11-211-3/+4
| | | | | | overrides strtoll. llvm-svn: 44264
* This change does a couple of things. First it gets the Visual Studio builds ↵Chuck Rose III2007-11-211-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | working. I added the lexing files to the VStudio projects and removed the .l files from the VStudio projects. There was a problem with use of strtoll in TGLexer.cpp and Chris suggested switching to strtol, so that's included here. Additionally, this checkin adds minimal x64 builds to the VStudio builds. Build issues related to x64 in the windows specific files for DynamicLibrary.inc and Singals.inc are worked around, but not ultimately solved. Binaries used to be stored in ...\win32\{Debug|Release} but are now kept in ...\win32\bin\{win32|x64}\{Debug|Release} intermediate files will continue to be stored in the individual project directories under win32. Some names will likely change in the future to reflect that the vstudio projects are no longer 32-bit only, but I wanted to get things up and running today so kept away from bigger restructuring. llvm-svn: 44260
* Record the start of the current token, for use in error reporting.Chris Lattner2007-11-191-5/+6
| | | | llvm-svn: 44227
* Add carat diagnostics to tblgen lexer errors.Chris Lattner2007-11-191-28/+53
| | | | llvm-svn: 44226
* minor cleanupsChris Lattner2007-11-181-2/+2
| | | | llvm-svn: 44212
* ensure header is self contained.Chris Lattner2007-11-181-1/+1
| | | | llvm-svn: 44211
* reimplement the tblgen lexer with a simple hand-written lexer. This eliminatesChris Lattner2007-11-181-0/+439
one dependency on flex and gets rid of two ".cvs" files. llvm-svn: 44210
OpenPOWER on IntegriCloud