[all-commits] [llvm/llvm-project] 447ea9: [AST] default implementation is possible for non-m...

MyDeveloperDay via All-commits all-commits at lists.llvm.org
Mon May 25 01:45:59 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 447ea9b4f5f562c8fab7d11ecbb10ecd33155d5b
      https://github.com/llvm/llvm-project/commit/447ea9b4f5f562c8fab7d11ecbb10ecd33155d5b
  Author: mydeveloperday <mydeveloperday at gmail.com>
  Date:   2020-05-25 (Mon, 25 May 2020)

  Changed paths:
    M clang/include/clang/AST/Decl.h
    M clang/include/clang/AST/RecursiveASTVisitor.h
    M clang/unittests/Tooling/RecursiveASTVisitorTests/CXXMethodDecl.cpp

  Log Message:
  -----------
  [AST] default implementation is possible for non-member functions in C++20.

Summary:
Make RAV not visit the default function decl by default.
Also update some stale comments on FunctionDecl::isDefault.

Fixes https://github.com/clangd/clangd/issues/383

Reviewers: sammccall, rsmith

Subscribers: cfe-commits

Tags: #clang

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




More information about the All-commits mailing list