]> granicus.if.org Git - clang/commit
Implement GNU C extension: two types are compatible if they appear
authorPeter Collingbourne <peter@pcc.me.uk>
Sun, 24 Oct 2010 18:30:18 +0000 (18:30 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Sun, 24 Oct 2010 18:30:18 +0000 (18:30 +0000)
commit4846675e0e42d1802b0ffd8972a45e72aeb3758d
treed90c53930baf9fd0f2b31f2cf0ce8d564babb767
parentb6cc0e1a789c3f33e3f4b1ee768e679a9beab941
Implement GNU C extension: two types are compatible if they appear
as a function argument, one of the types is a transparent union type
and the other type is compatible with a union member

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@117243 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/ASTContext.h
lib/AST/ASTContext.cpp
test/CodeGen/transparent-union.c
test/Sema/transparent-union.c