Skip to content
  1. Jun 28, 2013
    • Alexander Kornienko's avatar
      Use lexing mode based on FormatStyle.Standard. · 1e80887d
      Alexander Kornienko authored
      Summary:
      Some valid pre-C++11 constructs change meaning when lexed in C++11
      mode, e.g.
      #define x(_a) printf("foo"_a);
      (example from http://llvm.org/bugs/show_bug.cgi?id=16342). "foo"_a is treated as
      a user-defined string literal when parsed in C++11 mode.
      In order to deal with this correctly, we need to set lexing mode according to
      which standard the code conforms to. We already have a configuration value for
      this (FormatStyle.Standard), which seems to be appropriate to use in this case
      as well.
      
      Reviewers: klimek
      
      CC: cfe-commits, gribozavr
      
      Differential Revision: http://llvm-reviews.chandlerc.com/D1028
      
      llvm-svn: 185149
      1e80887d
  2. Jun 26, 2013
  3. Jun 25, 2013
  4. Jun 24, 2013
  5. Jun 23, 2013
  6. Jun 22, 2013
  7. Jun 18, 2013
  8. Jun 17, 2013
  9. Jun 14, 2013
    • Reid Kleckner's avatar
      [Driver] Refactor clang driver to use LLVM's Option library · 898229ab
      Reid Kleckner authored
      The big changes are:
      - Deleting Driver/(Arg|Opt)*
      - Rewriting includes to llvm/Option/ and re-sorting
      - 'using namespace llvm::opt' in clang::driver
      - Fixing the autoconf build by adding option everywhere
      
      As discussed in the review, this change includes using directives in
      header files.  I'll make follow up changes to remove those in favor of
      name specifiers.
      
      Reviewers: espindola
      
      Differential Revision: http://llvm-reviews.chandlerc.com/D975
      
      llvm-svn: 183989
      898229ab
  10. Jun 13, 2013
  11. Jun 12, 2013
  12. Jun 11, 2013
  13. Jun 10, 2013
  14. Jun 06, 2013
  15. Jun 05, 2013
  16. Jun 04, 2013
  17. May 31, 2013
  18. May 30, 2013
  19. May 29, 2013
  20. May 25, 2013
    • Rafael Espindola's avatar
      Fix linkage computation for derived types in inline functions. · 50df3a02
      Rafael Espindola authored
      John noticed that the fix for pr15930 (r181981) didn't handle indirect
      uses of local types. For example, a pointer to local struct, or a
      function that returns it.
      
      One way to implement this would be to recursively look for local
      types. This would look a lot like the linkage computation itself for
      types.
      
      To avoid code duplication and utilize the existing linkage cache, this
      patch just makes the computation of "type with no linkage but
      externally visible because it is from an inline function"  part of the
      linkage computation itself.
      
      llvm-svn: 182711
      50df3a02
    • Argyrios Kyrtzidis's avatar
      [libclang] Add logging for clang_createTranslationUnit. · 2702101a
      Argyrios Kyrtzidis authored
      llvm-svn: 182682
      2702101a
Loading