[PATCH] D131683: Diagnosing the Future Keywords

Muhammad Usman Shahid via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 24 18:01:45 PDT 2022


Codesbyusman added inline comments.


================
Comment at: clang/test/Parser/static_assert.c:1
-// RUN: %clang_cc1 -fsyntax-only -std=c2x -DTEST_SPELLING -verify=c2x %s
-// RUN: %clang_cc1 -fsyntax-only -std=c2x -DTEST_SPELLING -fms-compatibility -verify=c2x-ms %s
+// RUN: %clang_cc1 -fsyntax-only -std=c17 -DTEST_SPELLING -Weverything -verify=c17 %s
+// RUN: %clang_cc1 -fsyntax-only -std=c17 -DTEST_SPELLING -fms-compatibility -verify=c17-ms %s
----------------
aaron.ballman wrote:
> Why did you add `-Weverything` here? That seems odd.
> Why did you add `-Weverything` here? That seems odd.

Totally unintentional. I was initially exploring something. will fix this. Thank you for pointing out.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D131683



More information about the cfe-commits mailing list