]> granicus.if.org Git - clang/commit
Introduce a new libclang API, clang_isFileMultipleIncludeGuarded(),
authorDouglas Gregor <dgregor@apple.com>
Wed, 4 May 2011 00:14:37 +0000 (00:14 +0000)
committerDouglas Gregor <dgregor@apple.com>
Wed, 4 May 2011 00:14:37 +0000 (00:14 +0000)
commitdd3e5549e3c11e217078938aacf72f042eea5343
treee73841fdb4c17d4e570cb45d48e7a29307b909aa
parentd808bd2978bd4ac95a92b309b038452b533fd7a0
Introduce a new libclang API, clang_isFileMultipleIncludeGuarded(),
which determines whether a particular file is actually a header that
is intended to be guarded from multiple inclusions within the same
translation unit.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130808 91177308-0d34-0410-b5e6-96231b3b80d8
12 files changed:
include/clang-c/Index.h
include/clang/Lex/HeaderSearch.h
lib/Lex/HeaderSearch.cpp
lib/Serialization/ASTReader.cpp
lib/Serialization/ASTWriter.cpp
test/Index/Inputs/guarded.h [new file with mode: 0644]
test/Index/Inputs/pragma-once.h [new file with mode: 0644]
test/Index/annotate-tokens-pp.c
tools/c-index-test/c-index-test.c
tools/libclang/CIndex.cpp
tools/libclang/libclang.darwin.exports
tools/libclang/libclang.exports