Skip to content
Snippets Groups Projects
  1. Jun 20, 2012
  2. Jun 19, 2012
    • Meador Inge's avatar
      Revert predefined decl tracking. · 9416d424
      Meador Inge authored
      r158085 added some logic to track predefined declarations.  The main reason we
      had predefined declarations in the input was because the __builtin_va_list
      declarations were injected into the preprocessor input.  As of r158592 we 
      explicitly build the __builtin_va_list declarations.  Therefore the predefined
      decl tracking is no longer needed.
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158732 91177308-0d34-0410-b5e6-96231b3b80d8
      9416d424
  3. Jun 18, 2012
  4. Jun 15, 2012
  5. Jun 14, 2012
    • James Dennett's avatar
      More doxygen/documentation cleanups. · 809d1be9
      James Dennett authored
      This reduces the number of warnings generated by Doxygen by about 100
      (roughly 10%).  Issues addressed:
      (1) Primarily, backslash-escaped "@foo" and "#bah" in Doxygen comments
      when they're not supposed to be Doxygen commands or links, and
      similarly for "<baz>" when it's not intended as as HTML tag;
      (2) Changed some \t commands (which don't exist) to \c ("to refer to a
      word of code", as the Doxygen manual says);
      (3) \precondition becomes \pre;
      (4) When touching comments, deleted a couple of spurious spaces in them;
      (5) Changed some \n and \r to \\n and \\r;
      (6) Fixed one tiny typo: #pragms -> #pragma.
      
      This patch touches documentation/comments only.
      
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158422 91177308-0d34-0410-b5e6-96231b3b80d8
      809d1be9
  6. Jun 06, 2012
    • Jordan Rose's avatar
      Add pedantic warning -Wempty-translation-unit (C11 6.9p1). · d73ef135
      Jordan Rose authored
      In standard C since C89, a 'translation-unit' is syntactically defined to have
      at least one "external-declaration", which is either a decl or a function
      definition. In Clang the latter gives us a declaration as well.
      
      The tricky bit about this warning is that our predefines can contain external
      declarations (__builtin_va_list and the 128-bit integer types). Therefore our
      AST parser now makes sure we have at least one declaration that doesn't come
      from the predefines buffer.
      
      Also, remove bogus warning about empty source files. This doesn't catch source
      files that only contain comments, and never fired anyway because of our
      predefines.
      
      PR12665 and <rdar://problem/9165548>
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158085 91177308-0d34-0410-b5e6-96231b3b80d8
      d73ef135
  7. May 03, 2012
  8. Feb 21, 2012
    • Argyrios Kyrtzidis's avatar
      [PCH] Recover gracefully if the ASTReader detects that a file is different · a4c29b6e
      Argyrios Kyrtzidis authored
      from the one stored in the PCH/AST, while trying to load a SLocEntry.
      
      We verify that all files of the PCH did not change before loading it but this is not enough because:
      
      - The AST may have been 1) kept around, 2) to do queries on it.
      - We may have 1) verified the PCH and 2) started parsing.
      
      Between 1) and 2) files may change and we are going to have crashes because the rest of clang
      cannot deal with the ASTReader failing to read a SLocEntry.
      
      Handle this by recovering gracefully in such a case, by initializing the SLocEntry
      with the info from the PCH/AST as well as reporting failure by the ASTReader.
      
      rdar://10888929
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151004 91177308-0d34-0410-b5e6-96231b3b80d8
      a4c29b6e
  9. Feb 20, 2012
  10. Jan 27, 2012
  11. Jan 06, 2012
  12. Jan 05, 2012
  13. Dec 21, 2011
  14. Dec 10, 2011
  15. Nov 19, 2011
  16. Nov 16, 2011
  17. Nov 05, 2011
  18. Oct 31, 2011
  19. Oct 25, 2011
  20. Oct 20, 2011
  21. Oct 18, 2011
  22. Oct 12, 2011
  23. Sep 27, 2011
  24. Sep 26, 2011
  25. Sep 19, 2011
  26. Sep 09, 2011
  27. Sep 08, 2011
  28. Sep 01, 2011
  29. Aug 23, 2011
Loading