clang
6.0.0
|
#include "clang/Sema/CodeCompleteConsumer.h"
#include "clang-c/Index.h"
#include "clang/AST/DeclCXX.h"
#include "clang/AST/DeclObjC.h"
#include "clang/AST/DeclTemplate.h"
#include "clang/Sema/Scope.h"
#include "clang/Sema/Sema.h"
#include "clang/Lex/Preprocessor.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/Twine.h"
#include "llvm/Support/raw_ostream.h"
#include <algorithm>
#include <cstring>
#include <functional>
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. More... | |
|
static |
Retrieve the effective availability of the given declaration.
Definition at line 551 of file CodeCompleteConsumer.cpp.
References clang::AR_Available, clang::AR_Deprecated, clang::AR_NotYetIntroduced, clang::AR_Unavailable, CXAvailability_Available, CXAvailability_Deprecated, CXAvailability_NotAccessible, CXAvailability_NotAvailable, CXCursor_NotImplemented, CXCursor_ObjCInterfaceDecl, CXCursor_ObjCProtocolDecl, CXCursor_UnexposedDecl, clang::CodeCompletionString::getAvailability(), clang::Decl::getAvailability(), clang::getCursorKindForDecl(), clang::Decl::getDeclContext(), and max().
|
static |
Definition at line 514 of file CodeCompleteConsumer.cpp.
References clang::C, clang::CodeCompletionString::CK_CurrentParameter, clang::CodeCompletionString::CK_Informative, clang::CodeCompletionString::CK_ResultType, and clang::Result.