]> granicus.if.org Git - clang/commit
Teach AST merging that variables with incomplete array types can be
authorDouglas Gregor <dgregor@apple.com>
Wed, 10 Feb 2010 17:16:49 +0000 (17:16 +0000)
committerDouglas Gregor <dgregor@apple.com>
Wed, 10 Feb 2010 17:16:49 +0000 (17:16 +0000)
commit0f962a8e61e1c094a89df17f9d3ad947d31c4e5c
treeada317fff9f2bf2614e59ee121af2c8c675c410a
parent6b2accb4793e16b2e93a8c2589f5df702231f17a
Teach AST merging that variables with incomplete array types can be
merged with variables of constant array types. Also, make sure that we
call DiagnosticClient's BeginSourceFile/EndSourceFile, so that it has
a LangOptions to work with.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95782 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/ASTImporter.cpp
lib/Frontend/ASTMerge.cpp
test/ASTMerge/Inputs/var1.c
test/ASTMerge/Inputs/var2.c
test/ASTMerge/var.c