aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/SourceManager.cpp
AgeCommit message (Expand)AuthorFilesLines
2011-08-23Move a couple of SourceManager functions out-of-line; no functionality change.Argyrios Kyrtzidis1-0/+43
2011-08-21Boost the efficiency of SourceManager::getMacroArgExpandedLocation.Argyrios Kyrtzidis1-39/+101
2011-08-19Refactor common functionality into SourceManager::getFileIDSize, no functiona...Argyrios Kyrtzidis1-14/+1
2011-08-17Introduce SourceManager::getMacroArgExpandedLocation function.Argyrios Kyrtzidis1-6/+75
2011-08-17Make SourceManager::isBeforeInTranslationUnit handle macro locations correctly.Argyrios Kyrtzidis1-7/+3
2011-07-27Change SourceManager::getDataStructureSizes() to use llvm::capacity_in_bytes().Ted Kremenek1-7/+8
2011-07-26clang_getCXTUResourceUsage: Report memory used by data structures in SourceMa...Ted Kremenek1-0/+8
2011-07-26Clean up as many of the comments in Basic I can find to talk in terms ofChandler Carruth1-28/+25
2011-07-26Migrate 'Instantiation' data and API bits of SLocEntry to 'Expansion'Chandler Carruth1-17/+15
2011-07-26Convert InstantiationInfo and much of the related code to ExpansionInfoChandler Carruth1-17/+17
2011-07-26Rename create(MacroArg)InstantiationLoc to create(MacroArg)ExpansionLoc.Chandler Carruth1-18/+20
2011-07-26Rename SourceManager (and InstantiationInfo) isMacroArgInstantiation APIChandler Carruth1-2/+2
2011-07-25Rename getInstantiationLineNumber to getExpansionLineNumber in bothChandler Carruth1-2/+2
2011-07-25Rename getInstantiationColumnNumber to getExpansionColumnNumber in bothChandler Carruth1-2/+2
2011-07-25Rename getDecomposedInstantiationLoc to getDecomposedExpansionLoc.Chandler Carruth1-7/+7
2011-07-25getInstantiationLocSlowCase -> getExpansionLocSlowCaseChandler Carruth1-2/+2
2011-07-25Rename SourceManager::getImmediateInstantiationRange toChandler Carruth1-5/+5
2011-07-25Rename SourceManager::getInstantiationRange to getExpansionRange.Chandler Carruth1-3/+3
2011-07-23remove unneeded llvm:: namespace qualifiers on some core types now that LLVM....Chris Lattner1-7/+7
2011-07-19Revamp the SourceManager to separate the representation of parsedDouglas Gregor1-170/+214
2011-07-07Keep track of which source locations are part of a macro argumentChandler Carruth1-4/+27
2011-07-07Move SourceManager::isAt[Start/End]OfMacroInstantiation functions to the Lexe...Argyrios Kyrtzidis1-55/+0
2011-07-07Make the Preprocessor more memory efficient and improve macro instantiation d...Argyrios Kyrtzidis1-52/+34
2011-07-07Fix bug in SourceManager::getDecomposedInstantiationLocSlowCase.Argyrios Kyrtzidis1-3/+4
2011-07-07For -print-stats, add the number of bytes that SLocEntryTable consumes.Argyrios Kyrtzidis1-1/+3
2011-07-06SmallVectorize a critical vector.Benjamin Kramer1-1/+1
2011-06-24SourceManager::isAtStartOfMacroInstantiation should check not only if the loc...Argyrios Kyrtzidis1-1/+5
2011-06-21Make more use of llvm::StringRef in various APIs. In particular, don'tJay Foad1-4/+4
2011-05-28Add a couple of helper methods in the SourceManager API, isAtStartOfMacroInst...Argyrios Kyrtzidis1-0/+67
2011-05-17Do some safety checks.Argyrios Kyrtzidis1-0/+6
2011-04-28Enhance clang_getCXTUResourceUsage() to report how much memory is used by Sou...Ted Kremenek1-0/+34
2011-04-20Teach SourceManager::getSLocEntry() that it can fail due to problemsDouglas Gregor1-22/+91
2011-04-15fix a bunch of comment typos found by codespell. Patch byChris Lattner1-2/+2
2011-04-09Eat the UTF-8 BOM at the beginning of a file since it's ignored anyhow.Eric Christopher1-6/+5
2011-03-08Add 'OverridenFilesKeepOriginalName' field in SourceManager which if true the...Argyrios Kyrtzidis1-2/+4
2011-03-05Currently we can only remap a file by creating a MemoryBuffer and replacing t...Argyrios Kyrtzidis1-18/+38
2011-02-23Switch the VerifyDiagnosticsClient to use PresumedLocs now that theyChandler Carruth1-3/+14
2011-02-16Fix a thinko with llvm::Optional, which is clearly the most dangerous class t...Douglas Gregor1-4/+8
2011-02-11Don't compare llvm::Optional<> objects directly; compare theirDouglas Gregor1-8/+14
2011-02-03Teach SourceManager::getLocation() how to cope with a source fileDouglas Gregor1-18/+84
2011-01-31Harden Lexer::GetBeginningOfToken() against bogus source locations andDouglas Gregor1-2/+11
2010-12-24Handle locations coming from macro instantiations properly in SourceManager::...Argyrios Kyrtzidis1-0/+7
2010-11-29Merge System into Support.Michael J. Spencer1-1/+1
2010-11-23reduce indentation and use early outs, to make it easier to readChris Lattner1-72/+79
2010-11-23now the FileManager has a FileSystemOpts ivar, stop threadingChris Lattner1-6/+3
2010-11-23Partially revert Doug's PCH validation patch (r98585).Chris Lattner1-14/+4
2010-11-18Refactoring of Diagnostic class.Argyrios Kyrtzidis1-3/+12
2010-11-18Fix a typo in the UTF-8 BOM (PR8645). Use a StringSwitch while at it.Benjamin Kramer1-24/+15
2010-11-03Implement -working-directory.Argyrios Kyrtzidis1-3/+4
2010-11-02Teach SourceManager::getPresumedLoc() how to fail gracefully if getLineNumber...Douglas Gregor1-2/+8