[PATCH] D23385: Implement __has_constant_initializer(obj) expression traits.
Eric Fiselier via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 11 18:55:44 PDT 2016
EricWF updated this revision to Diff 67790.
EricWF marked an inline comment as done.
EricWF added a comment.
- Add documentation for `__has_constant_initializer` and expression traits in general.
- Make expression traits detectable using `__has_extension`.
https://reviews.llvm.org/D23385
Files:
docs/LanguageExtensions.rst
include/clang/AST/Expr.h
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/Basic/ExpressionTraits.h
include/clang/Basic/TokenKinds.def
lib/AST/Expr.cpp
lib/AST/StmtPrinter.cpp
lib/Lex/PPMacroExpansion.cpp
lib/Parse/ParseDeclCXX.cpp
lib/Parse/ParseExpr.cpp
lib/Parse/ParseExprCXX.cpp
lib/Sema/SemaExprCXX.cpp
test/Lexer/has_extension_cxx.cpp
test/SemaCXX/expression-traits.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23385.67790.patch
Type: text/x-patch
Size: 22338 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160812/6b26dd4d/attachment-0001.bin>
More information about the cfe-commits
mailing list