Commit History

Autor SHA1 Mensaxe Data
  Craig Topper d9cad403c0 Teach getColumnNumber to use the line cache to get the start of the line if its on the same line as the last call to getLineNumber. Prevents needing to scan backwards for the new line. Fixes PR14106. %!s(int64=13) %!d(string=hai) anos
  Ted Kremenek 186ec9c2e6 Silence dead store warning. It is conceptually possible we will %!s(int64=13) %!d(string=hai) anos
  Roman Divacky 31ba613537 Dont cast away const needlessly. Found by gcc48 -Wcast-qual. %!s(int64=13) %!d(string=hai) anos
  Argyrios Kyrtzidis ff398965a5 Introduce a flag in SourceManager to treat non-system source files %!s(int64=13) %!d(string=hai) anos
  James Dennett ec221bc2a5 Documentation cleanup: Delete a duplicated/malformed doc comment. %!s(int64=13) %!d(string=hai) anos
  Meador Inge 9416d42468 Revert predefined decl tracking. %!s(int64=13) %!d(string=hai) anos
  Jordan Rose 2e413f977d Fix the location of the fixit for -Wnewline-eof. %!s(int64=13) %!d(string=hai) anos
  James Dennett b8950b8e11 Documentation cleanup: escaped # characters in Doxygen comments. %!s(int64=13) %!d(string=hai) anos
  James Dennett 7285a06a06 Documentation cleanup: escape # in a Doxygen comment. %!s(int64=13) %!d(string=hai) anos
  Douglas Gregor 47d9de6781 Switch LineTableInfo to use FileID instead of int for file references, %!s(int64=13) %!d(string=hai) anos
  Jordan Rose d73ef135ba Add pedantic warning -Wempty-translation-unit (C11 6.9p1). %!s(int64=13) %!d(string=hai) anos
  Argyrios Kyrtzidis d54dff026b [PCH] When validating that the files coming from PCH did not change, also %!s(int64=13) %!d(string=hai) anos
  Benjamin Kramer d2953ce57a SourceManager: Vectorize ComputeLineNumbers for SSE2. %!s(int64=13) %!d(string=hai) anos
  Argyrios Kyrtzidis a4c29b6e55 [PCH] Recover gracefully if the ASTReader detects that a file is different %!s(int64=13) %!d(string=hai) anos
  Argyrios Kyrtzidis cee5ec9df4 Fix bugs in SourceManager::computeMacroArgsCache() and add a unit test for it. %!s(int64=13) %!d(string=hai) anos
  Argyrios Kyrtzidis d7711ec430 For SourceManager::isBeforeInTranslationUnit(), have it consider macro arg expanded %!s(int64=13) %!d(string=hai) anos
  Dylan Noblesmith 098eaffc0c SourceManager: use getBufferSize() %!s(int64=13) %!d(string=hai) anos
  Argyrios Kyrtzidis 99ee085101 In SourceManager::~SourceManager do a sanity check to make sure we %!s(int64=13) %!d(string=hai) anos
  Argyrios Kyrtzidis a4288c4aa0 In ContentCache::replaceBuffer, add sanity check to make sure that we do not free a buffer %!s(int64=13) %!d(string=hai) anos
  Argyrios Kyrtzidis d575254dcd Add a sanity check in SourceManager::getColumnNumber, make sure %!s(int64=13) %!d(string=hai) anos
  Douglas Gregor a081da5e44 Implement (de-)serialization of the buffer contents for an overridden %!s(int64=13) %!d(string=hai) anos
  Argyrios Kyrtzidis 82ccbe759b Use assert(0) instead of duplicating the check, suggestion by Anna. %!s(int64=14) %!d(string=hai) anos
  Argyrios Kyrtzidis 796dbfb6c4 Introduce SourceManager::getFileLoc which returns a file location %!s(int64=14) %!d(string=hai) anos
  Argyrios Kyrtzidis c3b4575b77 Make sure SourceManager::getFileIDLoaded doesn't hang in release build because of invalid passed parameter. %!s(int64=14) %!d(string=hai) anos
  Argyrios Kyrtzidis b201e16e0c Break SourceManager::translateFileLineCol into translateFile, no functionality change. %!s(int64=14) %!d(string=hai) anos
  Argyrios Kyrtzidis fb3612ef19 Associate the macro arguments location map with a FileID instead %!s(int64=14) %!d(string=hai) anos
  David Blaikie d6471f7c19 Rename Diagnostic to DiagnosticsEngine as per issue 5397 %!s(int64=14) %!d(string=hai) anos
  Argyrios Kyrtzidis 5e5e95dec5 In SourceManager::translateLineCol, handle the case where we are pointing %!s(int64=14) %!d(string=hai) anos
  Argyrios Kyrtzidis 507097ec40 [libclang] When getting a source location from a file:line:col triplet %!s(int64=14) %!d(string=hai) anos
  Argyrios Kyrtzidis efa2ff8603 Break SourceManager::translateFileLineCol into translateLineCol that returns the %!s(int64=14) %!d(string=hai) anos