[PATCH] D152707: [clang][Sema] Provide source range to several Wunused warnings

Timm Bäder via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 12 07:52:36 PDT 2023


tbaeder added inline comments.


================
Comment at: clang/test/Misc/diag-unused-source-ranges.cpp:1
+// RUN: %clang -fsyntax-only -Wunused -Wunused-template -Wunused-exception-parameter -Wunused-member-function -fdiagnostics-print-source-range-info %s 2>&1 | FileCheck %s --strict-whitespace
+#include "diag-unused-source-ranges.h"
----------------
Should be `%clang_cc1` I think.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D152707



More information about the cfe-commits mailing list