aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/SourceManager.cpp
AgeCommit message (Expand)AuthorFilesLines
2013-11-24Fix a typo: "SLocEnty" should read "SLocEntry".James Dennett1-1/+1
2013-11-18Adding an assert to help catch possible buffer underruns.Aaron Ballman1-0/+4
2013-09-27SourceManager: Open code isInMainFile.Benjamin Kramer1-0/+30
2013-07-29Simplified SourceManager::translateLineCol a bit.Alexander Kornienko1-6/+3
2013-07-29Update for llvm api change.Rafael Espindola1-5/+8
2013-07-29Convert a use of status with llvm::sys::fs::getUniqueID.Rafael Espindola1-17/+16
2013-06-07Thread the 'Invalid' out parameter through SourceManager::getSLocEntry() and ...Argyrios Kyrtzidis1-1/+4
2013-05-25Make isBeforeInTranslationUnit consistent in the face of failures to get a va...Argyrios Kyrtzidis1-1/+1
2013-05-24Make isBeforeInTranslationUnit consistent in the face of failures to get a va...Argyrios Kyrtzidis1-1/+4
2013-05-24Add some safety checks in a couple of SourceManager functions.Argyrios Kyrtzidis1-5/+14
2013-05-24Replace Count{Leading,Trailing}Zeros_{32,64} with count{Leading,Trailing}Zeros.Michael J. Spencer1-1/+1
2013-05-16[Lexer] Improve Lexer::getSourceText() when the given range deals with functi...Argyrios Kyrtzidis1-0/+108
2013-04-13Introduce SourceManager::getDecomposedIncludedLoc, that returns the "included...Argyrios Kyrtzidis1-11/+30
2013-03-01Add one more sanity check in SourceManager::getFileIDLoaded().Argyrios Kyrtzidis1-0/+5
2013-03-01In SourceManager::getFileIDLoaded(), add some sanity checks to make sure we d...Argyrios Kyrtzidis1-0/+7
2013-02-27Refine SourceManager's isBeforeInTranslationUnit() cache to have more entries.Ted Kremenek1-1/+31
2013-02-22Replace some typically large vectors with SmallVector.Benjamin Kramer1-1/+1
2013-02-21Use None rather than Optional<T>() where possible.David Blaikie1-2/+2
2013-02-20Include llvm::Optional in clang/Basic/LLVM.hDavid Blaikie1-8/+7
2013-01-12Fix -Wunused-comparison for comparisons in arguments to function-like macros.Matt Beaumont-Gay1-2/+9
2012-12-16Don't use SourceLineCache in getColumnNumber if LastLineNoResult is past the ...Craig Topper1-1/+2
2012-12-04Sort all of Clang's files under 'lib', and fix up the broken headersChandler Carruth1-5/+5
2012-11-14Add -cc1 option -fno-diagnostics-use-presumed-location, a handy mode forRichard Smith1-2/+3
2012-10-20When associating file ranges of macro arguments with theirArgyrios Kyrtzidis1-37/+82
2012-10-19Teach getColumnNumber to use the line cache to get the start of the line if i...Craig Topper1-0/+11
2012-10-12Silence dead store warning. It is conceptually possible we willTed Kremenek1-0/+1
2012-09-06Dont cast away const needlessly. Found by gcc48 -Wcast-qual.Roman Divacky1-1/+1
2012-07-11Introduce a flag in SourceManager to treat non-system source filesArgyrios Kyrtzidis1-3/+11
2012-07-02Documentation cleanup: Delete a duplicated/malformed doc comment.James Dennett1-2/+0
2012-06-19Revert predefined decl tracking.Meador Inge1-1/+0
2012-06-19Fix the location of the fixit for -Wnewline-eof.Jordan Rose1-2/+3
2012-06-17Documentation cleanup: escaped # characters in Doxygen comments.James Dennett1-3/+3
2012-06-15Documentation cleanup: escape # in a Doxygen comment.James Dennett1-1/+1
2012-06-08Switch LineTableInfo to use FileID instead of int for file references,Douglas Gregor1-8/+8
2012-06-06Add pedantic warning -Wempty-translation-unit (C11 6.9p1).Jordan Rose1-0/+1
2012-05-03[PCH] When validating that the files coming from PCH did not change, alsoArgyrios Kyrtzidis1-14/+37
2012-04-06SourceManager: Vectorize ComputeLineNumbers for SSE2.Benjamin Kramer1-2/+39
2012-02-20[PCH] Recover gracefully if the ASTReader detects that a file is differentArgyrios Kyrtzidis1-1/+34
2011-12-21Fix bugs in SourceManager::computeMacroArgsCache() and add a unit test for it.Argyrios Kyrtzidis1-5/+22
2011-12-21For SourceManager::isBeforeInTranslationUnit(), have it consider macro arg ex...Argyrios Kyrtzidis1-1/+1
2011-12-19SourceManager: use getBufferSize()Dylan Noblesmith1-4/+5
2011-12-15In SourceManager::~SourceManager do a sanity check to make sure weArgyrios Kyrtzidis1-4/+8
2011-12-10In ContentCache::replaceBuffer, add sanity check to make sure that we do not ...Argyrios Kyrtzidis1-1/+5
2011-12-10Add a sanity check in SourceManager::getColumnNumber, make sureArgyrios Kyrtzidis1-1/+8
2011-11-16Implement (de-)serialization of the buffer contents for an overriddenDouglas Gregor1-0/+1
2011-10-25Use assert(0) instead of duplicating the check, suggestion by Anna.Argyrios Kyrtzidis1-3/+3
2011-10-12Introduce SourceManager::getFileLoc which returns a file locationArgyrios Kyrtzidis1-0/+10
2011-10-03Make sure SourceManager::getFileIDLoaded doesn't hang in release build becaus...Argyrios Kyrtzidis1-0/+4
2011-09-27Break SourceManager::translateFileLineCol into translateFile, no functionalit...Argyrios Kyrtzidis1-5/+16
2011-09-26Associate the macro arguments location map with a FileID insteadArgyrios Kyrtzidis1-17/+17