[PATCH] D102594: [NFCI] Move DEBUG_TYPE definition below #include of headers

Mindong Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun May 16 23:55:43 PDT 2021


mdchen created this revision.
Herald added subscribers: hiraditya, qcolombet, MatzeB.
mdchen requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

There're several places in the code base where `DEBUG_TYPE` definition is defined at the top of the file or around the #includes, which could result in conflicts when you try to define a new `DEBUG_TYPE` in a related header file.


https://reviews.llvm.org/D102594

Files:
  llvm/lib/Analysis/AssumeBundleQueries.cpp
  llvm/lib/Target/AArch64/AArch64PBQPRegAlloc.cpp
  llvm/lib/Transforms/Scalar/AlignmentFromAssumptions.cpp
  llvm/lib/Transforms/Scalar/Float2Int.cpp
  llvm/utils/TableGen/DFAEmitter.cpp
  llvm/utils/TableGen/DFAPacketizerEmitter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102594.345758.patch
Type: text/x-patch
Size: 4098 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210517/c04d6adb/attachment.bin>


More information about the llvm-commits mailing list