class CodeCompletionAllocator

Declaration

class CodeCompletionAllocator : public BumpPtrAllocatorImpl { /* full declaration omitted */ };

Description

An allocator used specifically for the purpose of code completion.

Declared at: clang/include/clang/Sema/CodeCompleteConsumer.h:642

Inherits from: BumpPtrAllocatorImpl

Method Overview

  • public const char * CopyString(const llvm::Twine & String)

Methods

ΒΆconst char* CopyString(const llvm::Twine& String)

Description

Copy the given string into this allocator.

Declared at: clang/include/clang/Sema/CodeCompleteConsumer.h:645

Parameters

const llvm::Twine& String