[PATCH] D56879: [Sema] Suppress a warning about a forward-declared fixed enum in C mode

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 18 06:09:19 PST 2019


aaron.ballman added inline comments.


================
Comment at: clang/test/Sema/fixed-enum.c:4
 // RUN: %clang_cc1 -Weverything -xobjective-c -DOBJC -verify %s
 // RUN: %clang_cc1 -Weverything -std=c11 -xc -DC11 -verify %s
 // RUN: %clang_cc1 -Weverything -std=c11 -xc -fms-extensions -DMS -verify %s
----------------
Can you add a RUN line with `-pedantic` to ensure that we still warn on the forward declare of the enum even when it's fixed?


Repository:
  rC Clang

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

https://reviews.llvm.org/D56879





More information about the cfe-commits mailing list