summaryrefslogtreecommitdiffstats
path: root/clang/lib/Lex
Commit message (Collapse)AuthorAgeFilesLines
* for exponent-related errors, emit the diagnostic on the 'e' or 'p'.Chris Lattner2008-04-201-4/+7
| | | | llvm-svn: 49997
* when emitting diagnostics about some character in a numericChris Lattner2008-04-201-20/+26
| | | | | | | | | | | literal, indicate what character the error is about or where it would be. For example: pr2241.c:1:17: error: exponent has no digits float f[] = { 1e , 1ee0 }; ^ llvm-svn: 49996
* simplify ownership of the predefines buffer.Chris Lattner2008-04-191-5/+1
| | | | llvm-svn: 49973
* class Preprocessor: Now owns the "predefines" char*; it deletes [] it in its ↵Ted Kremenek2008-04-171-0/+2
| | | | | | | | | | | | | | | | | dstor. clang.cpp: InitializePreprocessor now makes a copy of the contents of PredefinesBuffer and passes it to the preprocessor object. clang.cpp: DriverPreprocessorFactory now calls "InitializePreprocessor" instead of this being done in main(). html::HighlightMacros() now takes a PreprocessorFactory, allowing it to conjure up a new Preprocessor to highlight macros. class HTMLDiagnostics now takes a PreprocessorFactory* that it can use for html::HighlightMacros(). Updated clients of HTMLDiagnostics to use this new interface. llvm-svn: 49875
* Added "PreprocessorFactory", an interface for lazily creating Preprocessor ↵Ted Kremenek2008-04-171-0/+2
| | | | | | objects on-demand. llvm-svn: 49868
* Fix typoNate Begeman2008-04-141-1/+1
| | | | llvm-svn: 49632
* Fix PR2220, making diagnostics for unexpected tokens in pp expressions Chris Lattner2008-04-131-3/+3
| | | | | | more nice. llvm-svn: 49619
* don't diagnose empty source files, thanks Neil!Chris Lattner2008-04-121-2/+3
| | | | llvm-svn: 49575
* don't read off the front of the buffer. Thanks to Sam for pointing this out.Chris Lattner2008-04-111-1/+1
| | | | llvm-svn: 49535
* Support MS-specific integer suffixes (i8, i16, i32, i64, i128).Steve Naroff2008-04-041-0/+29
| | | | llvm-svn: 49229
* Update to match simplified llvm MemoryBuffer interfaces for files.Chris Lattner2008-04-011-2/+1
| | | | llvm-svn: 49042
* Avoid overflowing buffer, patch by Algeris Kirtzidis!Chris Lattner2008-03-241-1/+1
| | | | llvm-svn: 48741
* Plug a memory leak in the "this macro expands into a single trivially-Sam Bishop2008-03-211-1/+4
| | | | | | expanded token" case. llvm-svn: 48637
* move #include to the file that needs it.Chris Lattner2008-03-182-1/+1
| | | | llvm-svn: 48485
* Make a major restructuring of the clang tree: introduce a top-levelChris Lattner2008-03-1516-0/+7673
lib dir and move all the libraries into it. This follows the main llvm tree, and allows the libraries to be built in parallel. The top level now enforces that all the libs are built before Driver, but we don't care what order the libs are built in. This speeds up parallel builds, particularly incremental ones. llvm-svn: 48402
OpenPOWER on IntegriCloud