Skip to content
Snippets Groups Projects
  1. May 21, 2014
  2. May 20, 2014
  3. May 07, 2014
    • Craig Topper's avatar
      [C++11] Use 'nullptr'. · a797c529
      Craig Topper authored
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@208163 91177308-0d34-0410-b5e6-96231b3b80d8
      a797c529
    • Tobias Grosser's avatar
      tblgen: Modularize the diagnostic emitter · f65fb7ca
      Tobias Grosser authored
      Replace a large monolitic function, with per-table functions which all nicely
      fit on my screen. I also added documentation to each function that describes
      what kind of tables are generated and which information is contained and
      switched to range based for loops. Finally, I run clang-format over the moved
      code.
      
      I spent a significant amount of time to understand this code when reasoning
      about possible extensions to the diagnostic interface to support 'remark'
      diagnostics. This change will definitely help such an implementation, but
      already by itself it will save other people a lot of time when trying to
      understand this functionality.
      
      Even though the patch touches the full function, it is mostly mechanical. No
      functional change intended. The generated tblgen files are identical.
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@208136 91177308-0d34-0410-b5e6-96231b3b80d8
      f65fb7ca
  4. May 02, 2014
  5. May 01, 2014
  6. Apr 30, 2014
  7. Apr 22, 2014
  8. Mar 31, 2014
    • Aaron Ballman's avatar
      Reapplying r204952 a second time. · 3056e7cb
      Aaron Ballman authored
      Clean up the __has_attribute implementation without modifying its behavior. 
      
      Replaces the tablegen-driven AttrSpellings.inc, which lived in the lexing layer with AttrHasAttributeImpl.inc, which lives in the basic layer. Updates the preprocessor to call through to this new functionality which can take additional information into account (such as scopes and syntaxes).
      
      Expose the ability for parts of the compiler to ask whether an attribute is supported for a given spelling (including scope), syntax, triple and language options.
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@205181 91177308-0d34-0410-b5e6-96231b3b80d8
      3056e7cb
  9. Mar 27, 2014
  10. Mar 21, 2014
  11. Mar 11, 2014
  12. Mar 06, 2014
  13. Mar 05, 2014
  14. Mar 04, 2014
  15. Mar 02, 2014
  16. Mar 01, 2014
  17. Feb 28, 2014
    • Tobias Grosser's avatar
      Add 'remark' diagnostic type in 'clang' · 9762c971
      Tobias Grosser authored
      A 'remark' is information that is not an error or a warning, but rather some
      additional information provided to the user. In contrast to a 'note' a 'remark'
      is an independent diagnostic, whereas a 'note' always depends on another
      diagnostic.
      
      A typical use case for remark nodes is information provided to the user, e.g.
      information provided by the vectorizer about loops that have been vectorized.
      
      This patch provides the initial implementation of 'remarks'. It includes the
      actual definiton of the remark nodes, their printing as well as basic parameter
      handling. We are reusing the existing diagnostic parameters which means a remark
      can be enabled with normal '-Wdiagnostic-name' flags and can be upgraded to
      an error using '-Werror=diagnostic-name'. '-Werror' alone does not upgrade
      remarks.
      
      This patch is by intention minimal in terms of parameter handling. More
      experience and more discussions will most likely lead to further enhancements
      in the parameter handling.
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@202475 91177308-0d34-0410-b5e6-96231b3b80d8
      9762c971
  18. Feb 25, 2014
  19. Feb 24, 2014
  20. Feb 21, 2014
    • Aaron Ballman's avatar
      Moving the documentation for the type safety checking attributes into... · 953d47e3
      Aaron Ballman authored
      Moving the documentation for the type safety checking attributes into AttrDocs. If a custom heading is provided, do not automatically generate the alternate spelling list. This is necessary because some attributes have distinct semantic spellings and meanings, but use the same semantic attribute internally. Such attributes should have multiple elements in their documentation list, but not show all spellings. At some point, it would be nice to have a way to attach the documentation element to a specific spelling for these cases.
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201851 91177308-0d34-0410-b5e6-96231b3b80d8
      953d47e3
  21. Feb 19, 2014
  22. Feb 17, 2014
  23. Feb 12, 2014
Loading