llvm/clang/lib/Index/IndexSymbol.cpp

//===--- IndexSymbol.cpp - Types and functions for indexing symbols -------===//
//
// 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 "clang/Index/IndexSymbol.h"
#include "clang/AST/Attr.h"
#include "clang/AST/DeclCXX.h"
#include "clang/AST/DeclObjC.h"
#include "clang/AST/DeclTemplate.h"
#include "clang/AST/PrettyPrinter.h"
#include "clang/Lex/MacroInfo.h"

usingnamespaceclang;
usingnamespaceclang::index;

/// \returns true if \c D is a subclass of 'XCTestCase'.
static bool isUnitTestCase(const ObjCInterfaceDecl *D) {}

/// \returns true if \c D is in a subclass of 'XCTestCase', returns void, has
/// no parameters, and its name starts with 'test'.
static bool isUnitTest(const ObjCMethodDecl *D) {}

static void checkForIBOutlets(const Decl *D, SymbolPropertySet &PropSet) {}

bool index::isFunctionLocalSymbol(const Decl *D) {}

SymbolInfo index::getSymbolInfo(const Decl *D) {}

SymbolInfo index::getSymbolInfoForMacro(const MacroInfo &) {}

bool index::applyForEachSymbolRoleInterruptible(SymbolRoleSet Roles,
                                   llvm::function_ref<bool(SymbolRole)> Fn) {}

void index::applyForEachSymbolRole(SymbolRoleSet Roles,
                                   llvm::function_ref<void(SymbolRole)> Fn) {}

void index::printSymbolRoles(SymbolRoleSet Roles, raw_ostream &OS) {}

bool index::printSymbolName(const Decl *D, const LangOptions &LO,
                            raw_ostream &OS) {}

StringRef index::getSymbolKindString(SymbolKind K) {}

StringRef index::getSymbolSubKindString(SymbolSubKind K) {}

StringRef index::getSymbolLanguageString(SymbolLanguage K) {}

void index::applyForEachSymbolProperty(SymbolPropertySet Props,
                                  llvm::function_ref<void(SymbolProperty)> Fn) {}

void index::printSymbolProperties(SymbolPropertySet Props, raw_ostream &OS) {}