ΒΆclang::LangOptions getFormattingLangOpts(
    const clang::format::FormatStyle& Style =
        getLLVMStyle())

Description

Returns the ``LangOpts`` that the formatter expects you to set.

Declared at: clang/include/clang/Format/Format.h:4217

Parameters

const clang::format::FormatStyle& Style = getLLVMStyle()
determines specific settings for lexing mode.