Text Details
|
NamedDecl *Sema::getCurFunctionOrMethodDecl() const { DeclContext *DC = getFunctionLevelDeclContext(); if (isa<ObjCMethodDecl>(DC) || isa<FunctionDecl>(DC)) return cast<NamedDecl>(DC); return nullptr; }
—
LLVM Clang source code - Sema.cpp
(software)
by LLVM Project
|
| Language: | English |
| Submitted by: | muchinchai |