clang API Documentation

Functions
CodeCompleteConsumer.cpp File Reference
#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 "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>
Include dependency graph for CodeCompleteConsumer.cpp:

Go to the source code of this file.

Functions

static AvailabilityResult getDeclAvailability (const Decl *D)
 Retrieve the effective availability of the given declaration.
static StringRef getOrderedName (const CodeCompletionResult &R, std::string &Saved)
 Retrieve the name that should be used to order a result.

Function Documentation

static AvailabilityResult getDeclAvailability ( const Decl D) [static]

Retrieve the effective availability of the given declaration.

Definition at line 501 of file CodeCompleteConsumer.cpp.

References clang::CodeCompletionString::getAvailability(), clang::Decl::getAvailability(), and clang::Decl::getDeclContext().

static StringRef getOrderedName ( const CodeCompletionResult R,
std::string &  Saved 
) [static]