aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/SourceManager.cpp
AgeCommit message (Expand)AuthorFilesLines
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
2010-10-26getOrCreateContentCache never returns null, so overrideFileContentsDan Gohman1-4/+2
2010-10-23Update remaining attribute macros to new style.Chandler Carruth1-1/+1
2010-10-05Fix handling of the 'Invalid' argument in SourceManager's methods (patch by D...Zhanyong Wan1-5/+14
2010-08-26Fix a typo.Dan Gohman1-1/+1
2010-08-18More PCH -> AST renaming.Sebastian Redl1-1/+1
2010-07-28Add a test case for tentative definitions in chained PCH. Fix a bug that comp...Sebastian Redl1-1/+4
2010-07-26Introduce basic support for loading a precompiled preamble whileDouglas Gregor1-11/+14
2010-05-07clean up isBeforeInTranslationUnit by factoring out some commonChris Lattner1-24/+34
2010-05-07reimplement the guts of SourceManager::isBeforeInTranslationUnitChris Lattner1-53/+56
2010-05-07start using the caching now that it appears to work!Chris Lattner1-16/+4
2010-05-07reimplement the caching in the SourceManager::isBeforeInTranslationUnit()Chris Lattner1-20/+31
2010-05-06Workaround a really serious caching bug in SourceManager::isBeforeInTranslati...Ted Kremenek1-0/+5
2010-04-20change FullSourceLoc to have a *const* SourceManager&, eliminatingChris Lattner1-4/+1
2010-04-20push some source location information down through the compiler,Chris Lattner1-20/+32