[all-commits] [llvm/llvm-project] e1ed02: [clang] Make -Rpass imply -Rpass=.*

aeubanks via All-commits all-commits at lists.llvm.org
Tue Sep 21 14:36:14 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e1ed02181ffcfea7de952d252a5e25953c822251
      https://github.com/llvm/llvm-project/commit/e1ed02181ffcfea7de952d252a5e25953c822251
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2021-09-21 (Tue, 21 Sep 2021)

  Changed paths:
    M clang/lib/Frontend/CompilerInvocation.cpp
    M clang/test/Frontend/optimization-remark-analysis.c
    M clang/test/Frontend/optimization-remark.c

  Log Message:
  -----------
  [clang] Make -Rpass imply -Rpass=.*

Previously with -Rpass (and friends) we'd have remarks "enabled", but
without an actual regex.

As seen in the test change to line numbers, this can give us better
diagnostics by properly enabling NeedLocTracking with -Rpass.

Reviewed By: dblaikie

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




More information about the All-commits mailing list