aboutsummaryrefslogtreecommitdiff
path: root/lib/Basic/Targets.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2011-09-28 02:45:33 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2011-09-28 02:45:33 +0000
commitc8680f46970a5a53d07e05edd93657e64764da3c (patch)
tree101b82ab8c2522f4ce799de0d2fd9c82ffc2e7ee /lib/Basic/Targets.cpp
parent4f8de278b73f438f1911128ae9c8ce27c2b53546 (diff)
Introduce Decl::getParentFunctionOrMethod which if the decl is defined inside
a function/method/block it returns the corresponding DeclContext, otherwise it returns null. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140672 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/Targets.cpp')
0 files changed, 0 insertions, 0 deletions