summaryrefslogtreecommitdiffstats
path: root/clang/lib/Basic/SourceLocation.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Make some methods const, add some helpers to FullSourceLoc,Chris Lattner2008-09-291-5/+39
| | | | | | and add a dump method to FullSourceLoc! Patch by Nico Weber! llvm-svn: 56806
* * Remove isInSystemHeader() from DiagClient, move it to SourceManagerNico Weber2008-08-101-0/+6
| | | | | | | | | | | | | | | | * Move FormatError() from TextDiagnostic up to DiagClient, remove now empty class TextDiagnostic * Make DiagClient optional for Diagnostic This fixes the following problems: * -html-diags (and probably others) does now output the same set of warnings as console clang does * nothing crashes if one forgets to call setHeaderSearch() on TextDiagnostic * some code duplication is removed llvm-svn: 54620
* Added "getCanonicalID()", "isFromSameFile", and "isFromMainFile" to compareTed Kremenek2008-04-141-0/+4
| | | | | | | | the files of different SourceLocations. These methods correctly handle the case where a file may have multiple FileIDs due to it being large enough to be spread across several chunks. llvm-svn: 49682
* Added "getLogicalLineNumber" and "getLogicalColumnNumber" to FullSourceLoc.Ted Kremenek2008-04-031-2/+13
| | | | llvm-svn: 49177
* Make a major restructuring of the clang tree: introduce a top-levelChris Lattner2008-03-151-0/+79
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