[all-commits] [llvm/llvm-project] 8f2858: [ASTMatchers] HasNameMatcher handles `extern "C"`

Nathan James via All-commits all-commits at lists.llvm.org
Thu Feb 27 04:11:44 PST 2020


  Branch: refs/heads/release/10.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 8f2858eb07085e13544316abfd3c0e90cef3eb93
      https://github.com/llvm/llvm-project/commit/8f2858eb07085e13544316abfd3c0e90cef3eb93
  Author: Nathan James <n.james93 at hotmail.co.uk>
  Date:   2020-02-27 (Thu, 27 Feb 2020)

  Changed paths:
    M clang/lib/ASTMatchers/ASTMatchersInternal.cpp
    M clang/unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp

  Log Message:
  -----------
  [ASTMatchers] HasNameMatcher handles `extern "C"`

Summary: Fixes [[ https://bugs.llvm.org/show_bug.cgi?id=42193 | hasName AST matcher is confused by extern "C" in namespace. ]]

Reviewers: klimek, aaron.ballman, gribozavr2

Reviewed By: aaron.ballman

Subscribers: cfe-commits

Tags: #clang

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

(cherry picked from commit 16cabf278fc8c14d415e677ce0bc40d46a6de30d)




More information about the All-commits mailing list