[PATCH] D84678: [clang] False line number in a function definition with "void" parameter

Bruno Ricci via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 27 15:01:19 PDT 2020


riccibruno added inline comments.


================
Comment at: clang/test/Sema/void-argument.cpp:1
+// RUN: not %clang_cc1 %s 2>&1 | FileCheck %s
+
----------------
These kinds of tests are typically done with a `-verify` test. See the other tests in `Sema/` for examples.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D84678





More information about the cfe-commits mailing list