[all-commits] [llvm/llvm-project] fe97a5: [clang] remove (clang::)ast_matchers:: namespace f...

Julian Schmidt via All-commits all-commits at lists.llvm.org
Wed Feb 28 03:43:54 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fe97a59a7be51dfc7e92619536963051604d155a
      https://github.com/llvm/llvm-project/commit/fe97a59a7be51dfc7e92619536963051604d155a
  Author: Julian Schmidt <git.julian.schmidt at gmail.com>
  Date:   2024-02-28 (Wed, 28 Feb 2024)

  Changed paths:
    M clang/docs/LibASTMatchersReference.html
    M clang/docs/tools/dump_ast_matchers.py
    M clang/include/clang/ASTMatchers/ASTMatchers.h

  Log Message:
  -----------
  [clang] remove (clang::)ast_matchers:: namespace from AST matcher args for docs (#81437)

When parsing the ASTMatchers.h file, a matcher could specify an argument
that is a matcher using the not needed namespace
`(clang::)ast_matchers::`.
Change the argument parsing in dump_ast_matchers.py to remove those
namespaces such that when parameters with these namespaces slip through,
the namespaces will be not be shown in the matchers reference, like it
is done with the `internal` namespace.
Additionally, remove the not needed namespaces from arguments in
ASTMatchers.h.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list