[all-commits] [llvm/llvm-project] 542e78: [AST] Add a print method to Introspection Location...

Nathan James via All-commits all-commits at lists.llvm.org
Thu Apr 15 14:18:56 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 542e7806e61089da833338a2ff467006073cbe8d
      https://github.com/llvm/llvm-project/commit/542e7806e61089da833338a2ff467006073cbe8d
  Author: Nathan James <n.james93 at hotmail.co.uk>
  Date:   2021-04-15 (Thu, 15 Apr 2021)

  Changed paths:
    M clang/include/clang/Tooling/NodeIntrospection.h
    M clang/lib/Tooling/NodeIntrospection.cpp
    M clang/unittests/Introspection/IntrospectionTest.cpp

  Log Message:
  -----------
  [AST] Add a print method to Introspection LocationCall

Add a print method that takes a raw_ostream.
Change LocationCallFormatterCpp::format to call that method.

Reviewed By: steveire

Differential Revision: https://reviews.llvm.org/D100423




More information about the All-commits mailing list