Commit History

Автор SHA1 Съобщение Дата
  Benjamin Kramer 82b10c3984 Prefer uninitialized memory for scratch space. преди 10 години
  Joerg Sonnenberger 3150f432ff Global inline assembler blocks are merged before parsing, so no specific преди 10 години
  David Blaikie 8ee697fb1b Standardize on StringMap::insert, removing uses of StringMap::GetOrCreateValue. преди 10 години
  Benjamin Kramer 0273eb0d7a Make VFS and FileManager match the current MemoryBuffer API. преди 10 години
  Craig Topper 4b9bebfded Fix some cases where StringRef was being passed by const reference. Remove const from some other StringRefs since its implicitly const already. преди 11 години
  David Blaikie f6983668b4 unique_ptrify SourceManager::createFileID преди 11 години
  Rafael Espindola d92e74d96e Update for LLVM api change. преди 11 години
  Rafael Espindola 490fd36bd1 Return a std::unique_ptr from getBufferForFile. NFC. преди 11 години
  Rafael Espindola 0e34c9fc2b Use std::unique_ptr to simplify this code a bit. преди 11 години
  Alp Toker 5676ff327f Remove unused sys/stat.h includes преди 11 години
  David Blaikie c77e69d500 Remove 'const' from MemoryBuffers used through the SourceManager преди 11 години
  Craig Topper 603e37c3dd [C++11] Use 'nullptr'. преди 11 години
  Chandler Carruth 64729e56dc [Allocator] Make the ContentCache object actually carry the 8-byte преди 11 години
  Ted Kremenek bcc82ea9f8 Remove dead code I introduced 6 years, 4 months ago in r43518. преди 11 години
  Benjamin Kramer ba9fd9e97e [C++11] Replace llvm::tie with std::tie. преди 11 години
  Reid Kleckner 26b55ea31d Use llvm::DeleteContainerSeconds when possible преди 11 години
  James Dennett 6f438eeb95 Fix a typo: "SLocEnty" should read "SLocEntry". преди 11 години
  Aaron Ballman fb21ecfa48 Adding an assert to help catch possible buffer underruns. преди 11 години
  Benjamin Kramer 1b9c5374a3 SourceManager: Open code isInMainFile. преди 12 години
  Alexander Kornienko c8051e6d27 Simplified SourceManager::translateLineCol a bit. преди 12 години
  Rafael Espindola 4488835d1c Update for llvm api change. преди 12 години
  Rafael Espindola 3dadc85330 Convert a use of status with llvm::sys::fs::getUniqueID. преди 12 години
  Argyrios Kyrtzidis 4ff3225c1f Thread the 'Invalid' out parameter through SourceManager::getSLocEntry() and callees of SourceManager::getSLocEntryByID(). преди 12 години
  Argyrios Kyrtzidis 45e1f0e3e7 Make isBeforeInTranslationUnit consistent in the face of failures to get a valid FileID (V2). преди 12 години
  Argyrios Kyrtzidis ecdbbfa1cd Make isBeforeInTranslationUnit consistent in the face of failures to get a valid FileID. преди 12 години
  Argyrios Kyrtzidis 5b8e132a9a Add some safety checks in a couple of SourceManager functions. преди 12 години
  Michael J. Spencer 9779fdd271 Replace Count{Leading,Trailing}Zeros_{32,64} with count{Leading,Trailing}Zeros. преди 12 години
  Argyrios Kyrtzidis c50c6ff49a [Lexer] Improve Lexer::getSourceText() when the given range deals with function macro arguments. преди 12 години
  Argyrios Kyrtzidis ecc65238c9 Introduce SourceManager::getDecomposedIncludedLoc, that returns the "included/expanded in" decomposed location of the given FileID. преди 12 години
  Argyrios Kyrtzidis 838a920fda Add one more sanity check in SourceManager::getFileIDLoaded(). преди 12 години