clang-tools  16.0.0git
Namespaces | Functions
DontModifyStdNamespaceCheck.cpp File Reference
#include "DontModifyStdNamespaceCheck.h"
#include "clang/AST/ASTContext.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "clang/ASTMatchers/ASTMatchersInternal.h"
Include dependency graph for DontModifyStdNamespaceCheck.cpp:

Go to the source code of this file.

Namespaces

 clang
 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
 
 clang::tidy
 
 clang::tidy::cert
 

Functions

static const NamespaceDecl * getTopLevelLexicalNamespaceDecl (const Decl *D)
 

Function Documentation

◆ getTopLevelLexicalNamespaceDecl()

static const NamespaceDecl* getTopLevelLexicalNamespaceDecl ( const Decl D)
static

Definition at line 106 of file DontModifyStdNamespaceCheck.cpp.

References ns1::ns2::D.