Add a new attribute 'enable_if' which can be used to control overload…

Press ? to show keyboard shortcuts.
Committed
nicholasJan 10 2014, 6:50 PM
Parents
rL198995: Use the appropriate SourceLocation for the template backtrace when doing
Branches
Unknown
Tags
Unknown
Subscribers
None
Description

Add a new attribute 'enable_if' which can be used to control overload resolution based on the values of the function arguments at the call site.

rL198996

cfe/trunk/docs/LanguageExtensions.rst

Loading...

cfe/trunk/include/clang/AST/Expr.h

Loading...

cfe/trunk/include/clang/Basic/Attr.td

Loading...

cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td

Loading...

cfe/trunk/include/clang/Parse/Parser.h

Loading...

cfe/trunk/include/clang/Sema/Overload.h

Loading...

cfe/trunk/include/clang/Sema/Sema.h

Loading...

cfe/trunk/lib/AST/ExprConstant.cpp

Loading...

cfe/trunk/lib/Parse/ParseDecl.cpp

Loading...

cfe/trunk/lib/Parse/ParseDeclCXX.cpp

Loading...

cfe/trunk/lib/Sema/SemaDeclAttr.cpp

Loading...

cfe/trunk/lib/Sema/SemaDeclCXX.cpp

Loading...

cfe/trunk/lib/Sema/SemaExpr.cpp

Loading...

cfe/trunk/lib/Sema/SemaOverload.cpp

Loading...

cfe/trunk/lib/Sema/SemaTemplateInstantiateDecl.cpp

Loading...

cfe/trunk/test/Sema/enable_if.c

Loading...

cfe/trunk/test/SemaCXX/enable_if.cpp

Loading...

Add Comment