Skip to content
  1. Apr 16, 2011
  2. Feb 25, 2011
  3. Feb 04, 2011
  4. Jan 27, 2011
  5. Jan 14, 2011
  6. Jan 07, 2011
  7. Dec 15, 2010
    • Argyrios Kyrtzidis's avatar
      Fix diagnostic pragmas. · 1cb0de1d
      Argyrios Kyrtzidis authored
      Diagnostic pragmas are broken because we don't keep track of the diagnostic state changes and we only check the current/latest state.
      Problems manifest if a diagnostic is emitted for a source line that has different diagnostic state than the current state; this can affect
      a lot of places, like C++ inline methods, template instantiations, the lexer, etc.
      
      Fix the issue by having the Diagnostic object keep track of the source location of the pragmas so that it is able to know what is the diagnostic state at any given source location.
      
      Fixes rdar://8365684.
      
      llvm-svn: 121873
      1cb0de1d
  8. Nov 18, 2010
    • Argyrios Kyrtzidis's avatar
      Refactoring of Diagnostic class. · d0040648
      Argyrios Kyrtzidis authored
      -Move the stuff of Diagnostic related to creating/querying diagnostic IDs into a new DiagnosticIDs class.
      -DiagnosticIDs can be shared among multiple Diagnostics for multiple translation units.
      -The rest of the state in Diagnostic object is considered related and tied to one translation unit.
      -Have Diagnostic point to the SourceManager that is related with. Diagnostic can now accept just a
         SourceLocation instead of a FullSourceLoc.
      -Reflect the changes to various interfaces.
      
      llvm-svn: 119730
      d0040648
Loading