[PATCH] D151575: [clang][diagnostics] Always show include stacks on errors

Zenong Zhang via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 15 13:09:37 PDT 2023


SlaterLatiao updated this revision to Diff 531885.
SlaterLatiao added a comment.

Remove unnecessary condition and assignment in implementation.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D151575

Files:
  clang/docs/ReleaseNotes.rst
  clang/lib/Frontend/DiagnosticRenderer.cpp
  clang/test/Misc/Inputs/include-stack-on-error-1.h
  clang/test/Misc/Inputs/include-stack-on-error-2.h
  clang/test/Misc/Inputs/include-stack-on-error-3.h
  clang/test/Misc/include-stack-on-error-1.cpp
  clang/test/Misc/include-stack-on-error-2.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151575.531885.patch
Type: text/x-patch
Size: 4363 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230615/679d77c3/attachment.bin>


More information about the cfe-commits mailing list