diff options
author | Reid Kleckner <rnk@google.com> | 2018-12-26 17:44:40 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2018-12-26 17:44:40 +0000 |
commit | 423b65333d490f119fc82acd4de079980d92413b (patch) | |
tree | 48623f40731f2d43fbf560dd424e2036458571ff /clang/test/CodeGenCXX/mangle-ms-templates.cpp | |
parent | 170a55b8931d19bebffd3fca3ea2008a82a9a417 (diff) | |
download | bcm5719-llvm-423b65333d490f119fc82acd4de079980d92413b.tar.gz bcm5719-llvm-423b65333d490f119fc82acd4de079980d92413b.zip |
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
llvm-svn: 350068
Diffstat (limited to 'clang/test/CodeGenCXX/mangle-ms-templates.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/mangle-ms-templates.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/test/CodeGenCXX/mangle-ms-templates.cpp b/clang/test/CodeGenCXX/mangle-ms-templates.cpp index 60554655374..469a23afc8e 100644 --- a/clang/test/CodeGenCXX/mangle-ms-templates.cpp +++ b/clang/test/CodeGenCXX/mangle-ms-templates.cpp @@ -1,5 +1,7 @@ // RUN: %clang_cc1 -std=c++11 -fms-compatibility-version=19 -emit-llvm %s -o - -fms-extensions -fdelayed-template-parsing -triple=i386-pc-win32 | FileCheck %s // RUN: %clang_cc1 -std=c++11 -fms-compatibility-version=19 -emit-llvm %s -o - -fms-extensions -fdelayed-template-parsing -triple=x86_64-pc-win32 | FileCheck -check-prefix X64 %s +// RUN: %clang_cc1 -std=c++17 -fms-compatibility-version=19 -emit-llvm %s -o - -fms-extensions -fdelayed-template-parsing -triple=i386-pc-win32 | FileCheck %s +// RUN: %clang_cc1 -std=c++17 -fms-compatibility-version=19 -emit-llvm %s -o - -fms-extensions -fdelayed-template-parsing -triple=x86_64-pc-win32 | FileCheck -check-prefix X64 %s template<typename T> class Class { |