[all-commits] [llvm/llvm-project] be68c9: [NFC] Add -std=c11 to attr-availability.c

dyung via All-commits all-commits at lists.llvm.org
Fri Jan 15 21:11:20 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: be68c9222b85815612e6bd8bc606a87e3111a0fb
      https://github.com/llvm/llvm-project/commit/be68c9222b85815612e6bd8bc606a87e3111a0fb
  Author: Douglas Yung <douglas.yung at sony.com>
  Date:   2021-01-15 (Fri, 15 Jan 2021)

  Changed paths:
    M clang/test/Parser/attr-availability.c

  Log Message:
  -----------
  [NFC] Add -std=c11 to attr-availability.c

This test will fail with any toolchains that don't default to C11.

Adding this switch to the clang invocation in the test fixes the issue.

Patch by Justice Adams!

Reviewed By: dyung

Differential Revision: https://reviews.llvm.org/D94829




More information about the All-commits mailing list