[clang] [clang][test] Fix instantiation-depth-default.cpp under ubsan config on Windows (PR #91021)

2024-05-03 Thread Duo Wang via cfe-commits
https://github.com/wdunicornpro created https://github.com/llvm/llvm-project/pull/91021 Clang test `instantiation-depth-default.cpp` fails on Windows when built with `ubsan` due to extra warnings printed by the compiler: ```console File instantiation-depth-default.cpp Line 11: stack nearly exha

[clang] [clang][test] Add test for incompatible cv-qualified reference types in conversion function template (PR #81950)

2024-03-04 Thread Duo Wang via cfe-commits
wdunicornpro wrote: ping https://github.com/llvm/llvm-project/pull/81950 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][test] Add test for incompatible cv-qualified reference types in conversion function template (PR #81950)

2024-02-27 Thread Duo Wang via cfe-commits
wdunicornpro wrote: @zygoloid Sorry about the abrupt ping but I figured you might have the best knowledge about that part of code. Do you have any thoughts on this? https://github.com/llvm/llvm-project/pull/81950 ___ cfe-commits mailing list cfe-commi

[clang] [clang][test] Add test for incompatible cv-qualified reference types in conversion function template (PR #81950)

2024-02-27 Thread Duo Wang via cfe-commits
https://github.com/wdunicornpro edited https://github.com/llvm/llvm-project/pull/81950 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][test] Add test for incompatible cv-qualified reference types in conversion function template (PR #81950)

2024-02-22 Thread Duo Wang via cfe-commits
wdunicornpro wrote: Ping: This helps to improve test coverage. https://github.com/llvm/llvm-project/pull/81950 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][test] Add test for incompatible cv-qualified reference types in conversion function template (PR #81950)

2024-02-15 Thread Duo Wang via cfe-commits
https://github.com/wdunicornpro created https://github.com/llvm/llvm-project/pull/81950 We currently lack test coverage for [SemaTemplateDeduction.cpp#L1619-L1620](https://github.com/llvm/llvm-project/blob/fe20a75/clang/lib/Sema/SemaTemplateDeduction.cpp#L1619-L1629), which handles the case wh

[clang] [NFC][clang][test][asan] Make `instantiation-depth-default.cpp` a valid test case under `asan` and `ubsan` configs (PR #75254)

2024-01-04 Thread Duo Wang via cfe-commits
@@ -1,18 +1,12 @@ -// RUN: %clang_cc1 -fsyntax-only -verify -ftemplate-backtrace-limit=2 %s -// -// FIXME: Disable this test when Clang was built with ASan, because ASan -// increases our per-frame stack usage enough that this test no longer fits -// within our normal stack space

[clang] [NFC][clang][test][asan] Make `instantiation-depth-default.cpp` a valid test case under `asan` and `ubsan` configs (PR #75254)

2024-01-04 Thread Duo Wang via cfe-commits
@@ -1,18 +1,12 @@ -// RUN: %clang_cc1 -fsyntax-only -verify -ftemplate-backtrace-limit=2 %s -// -// FIXME: Disable this test when Clang was built with ASan, because ASan -// increases our per-frame stack usage enough that this test no longer fits -// within our normal stack space

[clang] [NFC][clang][test][asan] Make `instantiation-depth-default.cpp` a valid test case under `asan` and `ubsan` configs (PR #75254)

2024-01-04 Thread Duo Wang via cfe-commits
https://github.com/wdunicornpro updated https://github.com/llvm/llvm-project/pull/75254 >From 410aaea22e1824c7f8ba27a8f538d0c039a5ab62 Mon Sep 17 00:00:00 2001 From: Duo Wang Date: Fri, 8 Dec 2023 15:38:08 -0800 Subject: [PATCH 1/2] add `-Wno-stack-exhausted` flag to support asan and ubsan ---

[clang] [NFC][clang][test][asan] Make `instantiation-depth-default.cpp` a valid test case under `asan` and `ubsan` configs (PR #75254)

2024-01-03 Thread Duo Wang via cfe-commits
wdunicornpro wrote: @goussepi Do you have any thoughts on this? https://github.com/llvm/llvm-project/pull/75254 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [NFC][clang][test][asan] Make `instantiation-depth-default.cpp` a valid test case under `asan` and `ubsan` configs (PR #75254)

2023-12-21 Thread Duo Wang via cfe-commits
wdunicornpro wrote: ping: this helps to improve our test coverage under `asan` and `ubsan` configs. https://github.com/llvm/llvm-project/pull/75254 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/

[clang] [NFC][clang][test][asan] Make `instantiation-depth-default.cpp` a valid test case under `asan` and `ubsan` configs (PR #75254)

2023-12-14 Thread Duo Wang via cfe-commits
https://github.com/wdunicornpro edited https://github.com/llvm/llvm-project/pull/75254 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [NFC][clang][test] Make `instantiation-depth-default.cpp` a valid test case under `asan` and `ubsan` configs (PR #75254)

2023-12-12 Thread Duo Wang via cfe-commits
https://github.com/wdunicornpro created https://github.com/llvm/llvm-project/pull/75254 Clang test `instantiation-depth-default.cpp` fails on Windows when built with `ubsan` due to extra warnings printed by the compiler: ```console File instantiation-depth-default.cpp Line 11: stack nearly exha