[PATCH] D34002: [clang-tidy] When" -fno-exceptions is used", this warning is better to be suppressed.

Phil Camp via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 8 05:36:05 PDT 2017


FlameTop added inline comments.


================
Comment at: test/clang-tidy/misc-noexcept-move-constructor.cpp:2
+// RUN: clang-tidy %s -checks="-*,misc-noexcept-move-constructor" -- -std=c++11 \
+// RUN:   | FileCheck %s -check-prefix=CHECK-EXCEPTIONS \
+// RUN:   -implicit-check-not="{{warning|error}}:"
----------------
Could I request that exceptions be explicitly enabled here (-fexceptions) as the test currently fails on targets which are configured with exceptions disabled as default? 


https://reviews.llvm.org/D34002





More information about the cfe-commits mailing list