[PATCH] D100530: [AST][Introspection] Add a check to detect if introspection is supported.

Nathan James via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 15 00:38:37 PDT 2021


njames93 created this revision.
njames93 added a reviewer: steveire.
Herald added a subscriber: mgorny.
njames93 requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

This could probably be made into a compile time constant, but that would involve generating a second inc file.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D100530

Files:
  clang/include/clang/Tooling/NodeIntrospection.h
  clang/lib/Tooling/CMakeLists.txt
  clang/lib/Tooling/DumpTool/generate_cxx_src_locs.py
  clang/unittests/Introspection/IntrospectionTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100530.337645.patch
Type: text/x-patch
Size: 11910 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210415/e77bbd13/attachment-0001.bin>


More information about the cfe-commits mailing list