llvm/clang-tools-extra/clang-tidy/bugprone/ForwardDeclarationNamespaceCheck.cpp

//===--- ForwardDeclarationNamespaceCheck.cpp - clang-tidy ------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include "ForwardDeclarationNamespaceCheck.h"
#include "clang/AST/ASTContext.h"
#include "clang/AST/Decl.h"
#include "clang/ASTMatchers/ASTMatchFinder.h"
#include "clang/ASTMatchers/ASTMatchers.h"
#include <stack>
#include <string>

usingnamespaceclang::ast_matchers;

namespace clang::tidy::bugprone {

void ForwardDeclarationNamespaceCheck::registerMatchers(MatchFinder *Finder) {}

void ForwardDeclarationNamespaceCheck::check(
    const MatchFinder::MatchResult &Result) {}

static bool haveSameNamespaceOrTranslationUnit(const CXXRecordDecl *Decl1,
                                               const CXXRecordDecl *Decl2) {}

static std::string getNameOfNamespace(const CXXRecordDecl *Decl) {}

void ForwardDeclarationNamespaceCheck::onEndOfTranslationUnit() {}

} // namespace clang::tidy::bugprone