ΒΆunsigned int getMacroUsagePriority(
    llvm::StringRef MacroName,
    const clang::LangOptions& LangOpts,
    bool PreferredTypeIsPointer = false)

Description

Determine the priority to be given to a macro code completion result with the given name.

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

Parameters

llvm::StringRef MacroName
The name of the macro.
const clang::LangOptions& LangOpts
Options describing the current language dialect.
bool PreferredTypeIsPointer = false
Whether the preferred type for the context of this macro is a pointer type.