ΒΆunsigned int clang_isFileMultipleIncludeGuarded(
    CXTranslationUnit tu,
    CXFile file)

Description

Determine whether the given header is guarded against multiple inclusions, either with the conventional # ifndef/ # define/ # endif macro guards or with # pragma once.

Declared at: clang/include/clang-c/Index.h:388

Parameters

CXTranslationUnit tu
CXFile file