summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExpr.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/CodeGen/CGExpr.cpp
parent4f8de278b73f438f1911128ae9c8ce27c2b53546 (diff)
downloadclang-c8680f46970a5a53d07e05edd93657e64764da3c.tar.gz
clang-c8680f46970a5a53d07e05edd93657e64764da3c.tar.bz2
clang-c8680f46970a5a53d07e05edd93657e64764da3c.tar.xz
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/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions