|
clang 22.0.0git
|
#include "clang/Sema/CodeCompleteConsumer.h"#include "clang-c/Index.h"#include "clang/AST/Decl.h"#include "clang/AST/DeclBase.h"#include "clang/AST/DeclObjC.h"#include "clang/AST/DeclTemplate.h"#include "clang/AST/DeclarationName.h"#include "clang/AST/Type.h"#include "clang/Basic/IdentifierTable.h"#include "clang/Lex/Preprocessor.h"#include "clang/Sema/Sema.h"#include "llvm/ADT/StringExtras.h"#include "llvm/ADT/StringRef.h"#include "llvm/ADT/Twine.h"#include "llvm/Support/Compiler.h"#include "llvm/Support/ErrorHandling.h"#include "llvm/Support/raw_ostream.h"#include <algorithm>#include <cassert>#include <cstdint>#include <string>Go to the source code of this file.
Functions | |
| static std::string | getOverloadAsString (const CodeCompletionString &CCS) |
| static AvailabilityResult | getDeclAvailability (const Decl *D) |
| Retrieve the effective availability of the given declaration. | |
|
static |
Retrieve the effective availability of the given declaration.
Definition at line 768 of file CodeCompleteConsumer.cpp.
References clang::cast(), clang::Decl::getAvailability(), clang::Decl::getDeclContext(), and clang::isa().
|
static |
Definition at line 724 of file CodeCompleteConsumer.cpp.
References clang::C, clang::CodeCompletionString::CK_CurrentParameter, clang::CodeCompletionString::CK_Informative, clang::CodeCompletionString::CK_Optional, and clang::CodeCompletionString::CK_ResultType.
Referenced by clang::PrintingCodeCompleteConsumer::ProcessOverloadCandidates().