[all-commits] [llvm/llvm-project] 70c62f: [NFC] give getParentFunctionOrMethod a 'Lexical' p...
Erich Keane via All-commits
all-commits at lists.llvm.org
Fri Jul 22 12:54:02 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 70c62f4cadbec132c4ab5f939648d10ca6338b15
https://github.com/llvm/llvm-project/commit/70c62f4cadbec132c4ab5f939648d10ca6338b15
Author: Erich Keane <erich.keane at intel.com>
Date: 2022-07-22 (Fri, 22 Jul 2022)
Changed paths:
M clang/include/clang/AST/DeclBase.h
M clang/lib/AST/DeclBase.cpp
Log Message:
-----------
[NFC] give getParentFunctionOrMethod a 'Lexical' parameter
Split up from the deferred concepts implementation, this function is
useful for determining the containing function of a different function.
However, in some cases it is valuable to instead get the lexical parent.
This adds a parameter to the existing function to allow a 'Lexical'
parameter to instead select the lexical parent.
More information about the All-commits
mailing list