We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d76c789 commit 642ff68Copy full SHA for 642ff68
1 file changed
tools/clang/lib/Parse/ParseExprCXX.cpp
@@ -2960,16 +2960,6 @@ static unsigned TypeTraitArity(tok::TokenKind kind) {
2960
/// type-id ...[opt] type-id-seq[opt]
2961
///
2962
ExprResult Parser::ParseTypeTrait() {
2963
- // HLSL Change Starts
2964
- if (getLangOpts().HLSL) {
2965
- Diag(Tok, diag::err_hlsl_unsupported_construct) << Tok.getName();
2966
- ConsumeToken();
2967
- BalancedDelimiterTracker p(*this, tok::l_paren);
2968
- if (!p.expectAndConsume())
2969
- p.skipToEnd();
2970
- return ExprError();
2971
- }
2972
- // HLSL Change Ends
2973
tok::TokenKind Kind = Tok.getKind();
2974
unsigned Arity = TypeTraitArity(Kind);
2975
0 commit comments