[cfe-commits] r151117 - in /cfe/trunk: include/clang/AST/ExprCXX.h include/clang/Sema/Sema.h lib/Parse/ParseDeclCXX.cpp lib/Sema/Sema.cpp lib/Sema/SemaExpr.cpp lib/Sema/SemaExprCXX.cpp lib/Sema/SemaOverload.cpp lib/Sema/TreeTransform.h test/CXX/d
Michel Morin
mimomorin at gmail.com
Tue Feb 21 20:38:50 PST 2012
> Log:
> Implement C++11 [expr.call]p11: If the operand to a decltype-specifier is a
> function call (or a comma expression with a function call on its right-hand
> side), possibly parenthesized, then the return type is not required to be
> complete and a temporary is not bound. Other subexpressions inside a decltype
> expression do not get this treatment.
Is there any way to detect this C++11 decltype feature?
`__has_feature(cxx_decltype)` does not work,
since this macro also detects pre-N3276 decltype.
(Boost.Config needs to detect N3276 decltype.)
Regards,
Michel
More information about the cfe-commits
mailing list