[PATCH] D68884: Add support to -Wa,-W in clang

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 21 11:33:45 PDT 2019


MaskRay added inline comments.


================
Comment at: clang/test/Driver/as-w-option.c:1
+// RUN: %clang -### %s -c -o tmp.o -fno-integrated-as -Wa,-W 2>&1 | FileCheck -check-prefix=CHECK-NOIAS %s
+// RUN: %clang -### %s -c -o tmp.o -integrated-as -Wa,-W 2>&1 | FileCheck -check-prefix=CHECK-IAS %s
----------------
Reusing the existing as-no-warnings.c may be better. I've moved the UN lines there.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D68884/new/

https://reviews.llvm.org/D68884





More information about the cfe-commits mailing list