[all-commits] [llvm/llvm-project] 4e58f0: [Clang] Fix : More Detailed "No expected directive...

Shourya Goel via All-commits all-commits at lists.llvm.org
Wed Feb 7 06:10:29 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4e58f03f298eb5c74877942c1c68911341c678bd
      https://github.com/llvm/llvm-project/commit/4e58f03f298eb5c74877942c1c68911341c678bd
  Author: Shourya Goel <114918019+Sh0g0-1758 at users.noreply.github.com>
  Date:   2024-02-07 (Wed, 07 Feb 2024)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticFrontendKinds.td
    M clang/lib/Frontend/VerifyDiagnosticConsumer.cpp
    M clang/test/Frontend/verify.c

  Log Message:
  -----------
  [Clang] Fix : More Detailed "No expected directives found" (#78338)

Updated the error message to use the proper prefix when
no expected directives are found by changing the hard coded expected in
the message to a dynamic value in two error messages.

Fixes #58290




More information about the All-commits mailing list