reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

tools/clang/include/clang/AST/DeclBase.h
  870   const DeclContext *getParentFunctionOrMethod() const;

References

tools/clang/include/clang/AST/DeclBase.h
  856     return getParentFunctionOrMethod() == nullptr;
  873                     const_cast<const Decl*>(this)->getParentFunctionOrMethod());
tools/clang/lib/AST/ASTContext.cpp
 9877     const DeclContext *LexicalContext = VD->getParentFunctionOrMethod();
tools/clang/lib/CodeGen/CGDecl.cpp
 1110     else if (const DeclContext *DC = D.getParentFunctionOrMethod())
tools/clang/lib/Frontend/InterfaceStubFunctionsConsumer.cpp
   58              VD->getParentFunctionOrMethod() == nullptr))
   81                 dyn_cast_or_null<FunctionDecl>(VD->getParentFunctionOrMethod()))
tools/clang/lib/Index/IndexDecl.cpp
  604     if (!D->getParentFunctionOrMethod())
tools/clang/lib/Index/IndexSymbol.cpp
   63   if (!D->getParentFunctionOrMethod())
tools/clang/lib/Index/USRGeneration.cpp
  125     return D->getParentFunctionOrMethod() != nullptr;
  188   if (D->getParentFunctionOrMethod())
tools/clang/tools/extra/clang-doc/Mapper.cpp
   32   if (D->getParentFunctionOrMethod())
tools/clang/tools/extra/clang-tidy/google/NonConstReferences.cpp
   50       dyn_cast_or_null<FunctionDecl>(Parameter->getParentFunctionOrMethod());
tools/clang/tools/extra/clang-tidy/readability/NonConstParameterCheck.cpp
   42     if (const DeclContext *D = Parm->getParentFunctionOrMethod()) {
  142         dyn_cast_or_null<const FunctionDecl>(Par->getParentFunctionOrMethod());
tools/clang/tools/extra/clangd/XRefs.cpp
  966       if (D->getParentFunctionOrMethod())
tools/clang/tools/extra/clangd/refactor/Rename.cpp
   97   if (RenameDecl.getParentFunctionOrMethod())
tools/clang/tools/libclang/CIndexHigh.cpp
  227   if (const DeclContext *DC = Dcl->getParentFunctionOrMethod()) {
tools/clang/tools/libclang/CXIndexDataConsumer.cpp
  423   if (!D->getParentFunctionOrMethod())