Skip to content
  1. Sep 09, 2009
  2. Sep 05, 2009
  3. Sep 03, 2009
  4. Aug 26, 2009
    • Douglas Gregor's avatar
      Improve diagnostics and recovery when the nested-name-specifier of a · 053f691d
      Douglas Gregor authored
      qualified name does not actually refer into a class/class
      template/class template partial specialization. 
      
      Improve printing of nested-name-specifiers to eliminate redudant
      qualifiers. Also, make it possible to output a nested-name-specifier
      through a DiagnosticBuilder, although there are relatively few places
      that will use this leeway.
      
      llvm-svn: 80056
      053f691d
  5. Aug 24, 2009
  6. Aug 23, 2009
  7. Aug 20, 2009
  8. Aug 19, 2009
  9. Aug 18, 2009
  10. Aug 17, 2009
  11. Aug 12, 2009
  12. Aug 10, 2009
    • Chris Lattner's avatar
      fix a couple of problems with section attributes: · 30ba6743
      Chris Lattner authored
      1. Passing something that isn't a string used to cause:
         "argument to annotate attribute was not a string literal"
        make it say "section attribute" instead.
      
      2. Fix the location of the above message to point to the
         bad argument instead of the section token.
      
      3. Implement rdar://4341926, by diagnosing invalid section
         specifiers in the frontend rather than letting them slip all
         the way to the assembler (a QoI win).
      
      An example of #3 is that we used to produce something like this:
      
      /var/folders/n7/n7Yno9ihEm894640nJdSQU+++TI/-Tmp-//ccFPFGtT.s:2:Expected comma after segment-name
      /var/folders/n7/n7Yno9ihEm894640nJdSQU+++TI/-Tmp-//ccFPFGtT.s:2:Rest of line ignored. 1st junk character valued 46 (.).
      
      Daniel improved clang to use llvm_report_error, so now we got:
      
      $ clang t.c -c
      fatal error: error in backend: Global variable 'x' has an invalid section specifier 'sadf': mach-o section specifier
            requires a segment and section separated by a comma.
      
      with no loc info.  Now we get:
      
      $ clang t.c -fsyntax-only
      t.c:4:30: error: argument to 'section' attribute is not valid for this target: mach-o section specifier requires a segment
            and section separated by a comma
      int x __attribute__((section("sadf")));
                                   ^
      
      which is nice :)
      
      llvm-svn: 78586
      30ba6743
  13. Aug 04, 2009
  14. Jul 16, 2009
  15. Jul 14, 2009
  16. Jul 13, 2009
  17. Jul 12, 2009
  18. Jul 08, 2009
  19. Jul 07, 2009
  20. Jul 06, 2009
  21. Jul 05, 2009
  22. Jul 03, 2009
  23. Jul 01, 2009
  24. Jun 30, 2009
  25. Jun 29, 2009
  26. Jun 28, 2009
  27. Jun 26, 2009
Loading