Mercurial > hg > CbC > CbC_llvm
view clang/test/Index/ignore-warnings-from-headers.cpp @ 206:f17a3b42b08b
Added tag before-12 for changeset b7591485f4cd
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 07 Jun 2021 21:25:57 +0900 |
parents | 1d019706d866 |
children |
line wrap: on
line source
#include "ignore-warnings-from-headers.h" void g(int unusedInMainFile) {} // RUN: env CINDEXTEST_IGNORE_NONERRORS_FROM_INCLUDED_FILES=1 c-index-test -test-load-source function %s -Wunused-parameter 2>&1 | FileCheck %s // CHECK-NOT: warning: unused parameter 'unusedInHeader' // CHECK: warning: unused parameter 'unusedInMainFile'