clang API Documentation
An allocator used specifically for the purpose of code completion. More...
#include <CodeCompleteConsumer.h>
Public Member Functions | |
const char * | CopyString (StringRef String) |
Copy the given string into this allocator. | |
const char * | CopyString (Twine String) |
Copy the given string into this allocator. | |
const char * | CopyString (const char *String) |
const char * | CopyString (const std::string &String) |
Copy the given string into this allocator. |
An allocator used specifically for the purpose of code completion.
Definition at line 498 of file CodeCompleteConsumer.h.
const char * CodeCompletionAllocator::CopyString | ( | StringRef | String | ) |
Copy the given string into this allocator.
Definition at line 254 of file CodeCompleteConsumer.cpp.
Referenced by AddFunctionParameterChunks(), AddFunctionTypeQualsToCompletionString(), AddObjCKeyValueCompletions(), AddObjCPassingTypeChunk(), AddOrdinaryNameResults(), AddQualifierToCompletionString(), AddTemplateParameterChunks(), clang::Sema::CodeCompleteObjCPropertySynthesizeIvar(), CopyString(), clang::CodeCompletionResult::CreateCodeCompletionString(), clang::CodeCompleteConsumer::OverloadCandidate::CreateSignatureString(), and GetCompletionTypeString().
const char * CodeCompletionAllocator::CopyString | ( | Twine | String | ) |
Copy the given string into this allocator.
Definition at line 261 of file CodeCompleteConsumer.cpp.
const char* clang::CodeCompletionAllocator::CopyString | ( | const char * | String | ) | [inline] |
Definition at line 507 of file CodeCompleteConsumer.h.
References CopyString().
const char* clang::CodeCompletionAllocator::CopyString | ( | const std::string & | String | ) | [inline] |
Copy the given string into this allocator.
Definition at line 512 of file CodeCompleteConsumer.h.
References CopyString().