]> granicus.if.org Git - clang/commit
Switch TestVisitor to Lang_C via -x c
authorStephan Bergmann <sbergman@redhat.com>
Tue, 27 Jun 2017 07:59:56 +0000 (07:59 +0000)
committerStephan Bergmann <sbergman@redhat.com>
Tue, 27 Jun 2017 07:59:56 +0000 (07:59 +0000)
commit30b455166181c96427d9d464f3bbebc5fcba2410
treea328348470d9788a347cf58133a4ef0d7f5b7049
parent0cf2d68b92fe25b9509f16006241925c92cc93ab
Switch TestVisitor to Lang_C via -x c

...instead of -std=c99, as the latter lead to

  error: invalid argument '-std=c99' not allowed with 'C++'

complaints in test logs

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@306373 91177308-0d34-0410-b5e6-96231b3b80d8
unittests/Tooling/TestVisitor.h