Skip to content
Snippets Groups Projects
  1. Dec 14, 2012
  2. Dec 12, 2012
  3. Dec 06, 2012
  4. Nov 17, 2012
  5. Nov 16, 2012
  6. Nov 14, 2012
    • Eli Friedman's avatar
      Suppress elided variadic macro argument extension diagnostic for macros using · 4fa4b480
      Eli Friedman authored
      the related comma pasting extension.
      
      In certain cases, we used to get two diagnostics for what is essentially one
      extension.  This change suppresses the first diagnostic in certain cases
      where we know we're going to print the second diagnostic.  The
      diagnostic is redundant, and it can't be suppressed in the definition
      of the macro because it points at the use of the macro, so we want to
      avoid printing it if possible.
      
      The implementation works by detecting constructs which look like comma
      pasting at the time of the definition of the macro; this information
      is then used when the macro is used.  (We can't actually detect
      whether we're using the comma pasting extension until the macro is
      actually used, but we can detecting constructs which will be comma
      pasting if the varargs argument is elided.)
      
      <rdar://problem/12292192>
      
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167907 91177308-0d34-0410-b5e6-96231b3b80d8
      4fa4b480
  7. Nov 10, 2012
  8. Nov 09, 2012
  9. Oct 27, 2012
  10. Oct 25, 2012
  11. Oct 22, 2012
  12. Oct 19, 2012
  13. Oct 02, 2012
  14. Sep 26, 2012
  15. Sep 20, 2012
  16. Sep 08, 2012
  17. Aug 31, 2012
  18. Aug 30, 2012
  19. Aug 29, 2012
  20. Aug 13, 2012
  21. Aug 10, 2012
  22. Aug 08, 2012
  23. Jul 27, 2012
  24. Jul 19, 2012
  25. Jul 11, 2012
    • Jordan Rose's avatar
      Start testing some commented-out cases of badly-formed __has_include. · 4b49756f
      Jordan Rose authored
      Filed PR13334 for the cases that cause the compiler to crash, and
      PR13335 for the cases where we should be recovering more gracefully.
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160070 91177308-0d34-0410-b5e6-96231b3b80d8
      4b49756f
    • Jordan Rose's avatar
      Allow -verify directives to be filtered by preprocessing. · 78541c43
      Jordan Rose authored
      This is accomplished by making VerifyDiagnosticsConsumer a CommentHandler,
      which then only reads the -verify directives that are actually in live
      blocks of code. It also makes it simpler to handle -verify directives that
      appear in header files, though we still have to manually reparse some files
      depending on how they are generated.
      
      This requires some test changes. In particular, all PCH tests now have their
      -verify directives outside the "header" portion of the file, using the @line
      syntax added in r159978. Other tests have been modified mostly to make it
      clear what is being tested, and to prevent polluting the expected output with
      the directives themselves.
      
      Patch by Andy Gibbs! (with slight modifications)
      
      The new Frontend/verify-* tests exercise the functionality of this commit,
      as well as r159978, r159979, and r160053 (Andy's other -verify enhancements).
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160068 91177308-0d34-0410-b5e6-96231b3b80d8
      78541c43
  26. Jul 07, 2012
  27. Jul 05, 2012
Loading