HomePhabricator

Ignore ConstantExpr in IgnoreParens

Description

Ignore ConstantExpr in IgnoreParens

Summary:
This moves it up from IgnoreParenImpCasts to IgnoreParens, so that more
helpers ignore it. For most clients, this ensures that these helpers
behave the same with and without C++17 enabled, which is what appears to
introduce these new expression nodes.

Fixes PR39881

Reviewers: void, rsmith

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D55853

Details

Committed
rnkDec 26 2018, 9:44 AM
Differential Revision
D55853: Ignore ConstantExpr in IgnoreParens
Parents
rL350067: Pass a concrete triple for two OpenMP tests that depend on TLS
Branches
Unknown
Tags
Unknown