Skip to content
Snippets Groups Projects
  1. Dec 20, 2012
  2. Nov 06, 2012
  3. Aug 10, 2012
  4. Aug 07, 2012
  5. Jul 31, 2012
  6. Jul 01, 2012
  7. Jun 20, 2012
    • Chandler Carruth's avatar
      Fix a big layering violation introduced by r158771. · f95d4125
      Chandler Carruth authored
      That commit added a new library just to hold the RawCommentList. I've
      started a discussion on the commit thread about whether that is really
      meritted -- it certainly doesn't seem necessary at this stage.
      
      However, the immediate problem is that the AST library has a hard
      dependency on the Comment library, but the dependencies were set up
      completely backward. In addition to the layering violation, this had an
      unfortunate effect if scattering the Comments library dependency
      throughout the build system, but inconsistently so -- several parts of
      the CMake dependencies were missing and only showed up due to transitive
      deps or the fact that the target wasn't being built by tho bots.
      
      It turns out that the Comments library can't (currently) be a well
      formed layer *below* the AST library either, as it has an API that
      accepts an ASTContext. That parameter is currently unused, so maybe that
      was a mistake?
      
      Anyways, it really seems like this is logically part of the AST --
      that's the whole point of the ASTContext providing access to it as far
      as I can tell -- so I've merged it into the AST library to solve the
      immediate layering violation problems and remove some of the churn from
      our library dependencies.
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158807 91177308-0d34-0410-b5e6-96231b3b80d8
      f95d4125
    • Dmitri Gribenko's avatar
      Structured comment parsing, first step. · aa0cd858
      Dmitri Gribenko authored
      * Retain comments in the AST
      * Serialize/deserialize comments
      * Find comments attached to a certain Decl
      * Expose raw comment text and SourceRange via libclang
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158771 91177308-0d34-0410-b5e6-96231b3b80d8
      aa0cd858
  8. Apr 13, 2012
  9. Mar 11, 2012
  10. Nov 28, 2011
  11. Sep 28, 2011
  12. Jul 10, 2011
  13. Jun 17, 2011
  14. Jun 16, 2011
  15. Feb 28, 2011
  16. Feb 20, 2011
  17. Feb 19, 2011
  18. Feb 18, 2011
  19. Aug 20, 2010
  20. Aug 17, 2010
  21. Jun 08, 2010
  22. Apr 30, 2010
  23. Jan 24, 2010
  24. Dec 02, 2009
  25. Dec 01, 2009
  26. Aug 28, 2009
  27. Aug 20, 2009
  28. Aug 10, 2009
    • Chris Lattner's avatar
      fix a couple of problems with section attributes: · 797c3c4f
      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 :)
      
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@78586 91177308-0d34-0410-b5e6-96231b3b80d8
      797c3c4f
  29. Jul 06, 2009
  30. Jun 25, 2009
  31. Mar 17, 2009
    • Douglas Gregor's avatar
      Build system changes to use TableGen to generate the various · a393e9ee
      Douglas Gregor authored
      diagnostics. This builds on the patch that Sebastian committed and
      then revert. Major differences are:
      
        - We don't remove or use the current ".def" files. Instead, for now,
          we just make sure that we're building the ".inc" files.
        - Fixed CMake makefiles to run TableGen and build the ".inc" files
          when needed. Tested with both the Xcode and Makefile generators
          provided by CMake, so it should be solid.
        - Fixed normal makefiles to handle out-of-source builds that involve
          the ".inc" files.
      
      I'll send a separate patch to the list with Sebastian's changes that
      eliminate the use of the .def files.
      
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67058 91177308-0d34-0410-b5e6-96231b3b80d8
      a393e9ee
  32. Mar 16, 2008
  33. Dec 29, 2007
Loading