aboutsummaryrefslogtreecommitdiff
path: root/lib/Basic/SourceManager.cpp
AgeCommit message (Expand)Author
2011-08-17Make SourceManager::isBeforeInTranslationUnit handle macro locations correctly.Argyrios Kyrtzidis
2011-07-27Change SourceManager::getDataStructureSizes() to use llvm::capacity_in_bytes().Ted Kremenek
2011-07-26clang_getCXTUResourceUsage: Report memory used by data structures in SourceMa...Ted Kremenek
2011-07-26Clean up as many of the comments in Basic I can find to talk in terms ofChandler Carruth
2011-07-26Migrate 'Instantiation' data and API bits of SLocEntry to 'Expansion'Chandler Carruth
2011-07-26Convert InstantiationInfo and much of the related code to ExpansionInfoChandler Carruth
2011-07-26Rename create(MacroArg)InstantiationLoc to create(MacroArg)ExpansionLoc.Chandler Carruth
2011-07-26Rename SourceManager (and InstantiationInfo) isMacroArgInstantiation APIChandler Carruth
2011-07-25Rename getInstantiationLineNumber to getExpansionLineNumber in bothChandler Carruth
2011-07-25Rename getInstantiationColumnNumber to getExpansionColumnNumber in bothChandler Carruth
2011-07-25Rename getDecomposedInstantiationLoc to getDecomposedExpansionLoc.Chandler Carruth
2011-07-25getInstantiationLocSlowCase -> getExpansionLocSlowCaseChandler Carruth
2011-07-25Rename SourceManager::getImmediateInstantiationRange toChandler Carruth
2011-07-25Rename SourceManager::getInstantiationRange to getExpansionRange.Chandler Carruth
2011-07-23remove unneeded llvm:: namespace qualifiers on some core types now that LLVM....Chris Lattner
2011-07-19Revamp the SourceManager to separate the representation of parsedDouglas Gregor
2011-07-07Keep track of which source locations are part of a macro argumentChandler Carruth
2011-07-07Move SourceManager::isAt[Start/End]OfMacroInstantiation functions to the Lexe...Argyrios Kyrtzidis
2011-07-07Make the Preprocessor more memory efficient and improve macro instantiation d...Argyrios Kyrtzidis
2011-07-07Fix bug in SourceManager::getDecomposedInstantiationLocSlowCase.Argyrios Kyrtzidis
2011-07-07For -print-stats, add the number of bytes that SLocEntryTable consumes.Argyrios Kyrtzidis
2011-07-06SmallVectorize a critical vector.Benjamin Kramer
2011-06-24SourceManager::isAtStartOfMacroInstantiation should check not only if the loc...Argyrios Kyrtzidis
2011-06-21Make more use of llvm::StringRef in various APIs. In particular, don'tJay Foad
2011-05-28Add a couple of helper methods in the SourceManager API, isAtStartOfMacroInst...Argyrios Kyrtzidis
2011-05-17Do some safety checks.Argyrios Kyrtzidis
2011-04-28Enhance clang_getCXTUResourceUsage() to report how much memory is used by Sou...Ted Kremenek
2011-04-20Teach SourceManager::getSLocEntry() that it can fail due to problemsDouglas Gregor
2011-04-15fix a bunch of comment typos found by codespell. Patch byChris Lattner
2011-04-09Eat the UTF-8 BOM at the beginning of a file since it's ignored anyhow.Eric Christopher
2011-03-08Add 'OverridenFilesKeepOriginalName' field in SourceManager which if true the...Argyrios Kyrtzidis
2011-03-05Currently we can only remap a file by creating a MemoryBuffer and replacing t...Argyrios Kyrtzidis
2011-02-23Switch the VerifyDiagnosticsClient to use PresumedLocs now that theyChandler Carruth
2011-02-16Fix a thinko with llvm::Optional, which is clearly the most dangerous class t...Douglas Gregor
2011-02-11Don't compare llvm::Optional<> objects directly; compare theirDouglas Gregor
2011-02-03Teach SourceManager::getLocation() how to cope with a source fileDouglas Gregor
2011-01-31Harden Lexer::GetBeginningOfToken() against bogus source locations andDouglas Gregor
2010-12-24Handle locations coming from macro instantiations properly in SourceManager::...Argyrios Kyrtzidis
2010-11-29Merge System into Support.Michael J. Spencer
2010-11-23reduce indentation and use early outs, to make it easier to readChris Lattner
2010-11-23now the FileManager has a FileSystemOpts ivar, stop threadingChris Lattner
2010-11-23Partially revert Doug's PCH validation patch (r98585).Chris Lattner
2010-11-18Refactoring of Diagnostic class.Argyrios Kyrtzidis
2010-11-18Fix a typo in the UTF-8 BOM (PR8645). Use a StringSwitch while at it.Benjamin Kramer
2010-11-03Implement -working-directory.Argyrios Kyrtzidis
2010-11-02Teach SourceManager::getPresumedLoc() how to fail gracefully if getLineNumber...Douglas Gregor
2010-10-26getOrCreateContentCache never returns null, so overrideFileContentsDan Gohman
2010-10-23Update remaining attribute macros to new style.Chandler Carruth
2010-10-05Fix handling of the 'Invalid' argument in SourceManager's methods (patch by D...Zhanyong Wan
2010-08-26Fix a typo.Dan Gohman