Skip to content
Snippets Groups Projects
  1. Jul 26, 2017
  2. Jul 15, 2017
  3. Jul 08, 2017
  4. Jul 06, 2017
  5. Jul 05, 2017
  6. Jul 01, 2017
  7. Jun 28, 2017
  8. Jun 26, 2017
  9. Jun 20, 2017
  10. Jun 02, 2017
  11. May 31, 2017
  12. May 24, 2017
  13. May 23, 2017
  14. May 01, 2017
  15. Apr 19, 2017
  16. Apr 18, 2017
  17. Apr 01, 2017
  18. Mar 23, 2017
  19. Mar 22, 2017
  20. Mar 21, 2017
    • Erich Keane's avatar
      Correct class-template deprecation behavior · c1312361
      Erich Keane authored
      Based on the comment in the test, and my reading of the standard, a deprecated warning should be issued in the following case:
      template<typename T> [[deprecated]] class Foo{}; Foo<int> f;
      
      This was not the case, because the ClassTemplateSpecializationDecl creation did not also copy the deprecated attribute.
      
      Note: I did NOT audit the complete set of attributes to see WHICH ones should be copied, so instead I simply copy ONLY the deprecated attribute.
      
      Differential Revision: https://reviews.llvm.org/D27486
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@298410 91177308-0d34-0410-b5e6-96231b3b80d8
      c1312361
  21. Jan 27, 2017
  22. Jan 24, 2017
  23. Jan 05, 2017
    • Justin Lebar's avatar
      [TableGen] Only normalize the spelling of GNU-style attributes. · 15128fbc
      Justin Lebar authored
      Summary:
      When Sema looks up an attribute name, it strips off leading and trailing
      "__" if the attribute is GNU-style.  That is, __attribute__((foo)) and
      __attribute__((__foo__)) are equivalent.
      
      This is only true for GNU-style attributes.  In particular,
      __declspec(__foo__) is not equivalent to __declspec(foo), and Sema
      respects this difference.
      
      This patch fixes TableGen to match Sema's behavior.  The spelling
      'GNU<"__foo__">' should be normalized to 'GNU<"foo">', but
      'Declspec<"__foo__">' should not be changed.
      
      This is necessary to make CUDA compilation work on Windows, because e.g.
      the __device__ attribute is spelled __declspec(__device__).
      
      Attr.td does not contain any Declspec spellings that start or end with
      "__", so this change should not affect any other attributes.
      
      Reviewers: rnk
      
      Subscribers: cfe-commits, tra
      
      Differential Revision: https://reviews.llvm.org/D28318
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@291129 91177308-0d34-0410-b5e6-96231b3b80d8
      15128fbc
  24. Jan 04, 2017
  25. Dec 31, 2016
  26. Dec 05, 2016
  27. Dec 04, 2016
  28. Dec 01, 2016
Loading