[PATCH] D52529: [Frontend] Simplify -print-decl-contexts with DeclNodes.inc
Fangrui Song via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 26 00:13:28 PDT 2018
MaskRay created this revision.
MaskRay added reviewers: rsmith, arphaman.
Herald added subscribers: cfe-commits, jfb.
Currently the switch conditions display Decl nodes with space-separated lowercase words. Some conditions are missing and will cause llvm_unreachable() failure. It is simpler to just use DeclNodes.inc names uninterpretedly.
Repository:
rC Clang
https://reviews.llvm.org/D52529
Files:
lib/Frontend/ASTConsumers.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D52529.167054.patch
Type: text/x-patch
Size: 4537 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180926/b62baaf3/attachment-0001.bin>
More information about the cfe-commits
mailing list