]> granicus.if.org Git - clang/commit
clang-c: de-anonymize structure declaration
authorSaleem Abdulrasool <compnerd@compnerd.org>
Tue, 24 May 2016 01:23:24 +0000 (01:23 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Tue, 24 May 2016 01:23:24 +0000 (01:23 +0000)
commita590ca84b672168e59870cee0b937ae9aa823380
treef7746a7790ae81538c488a9f2ec91efca1442edf
parent0b910bfbcda6b6c64afee2462018139ac9cef715
clang-c: de-anonymize structure declaration

The statement constructed an anonymous structure which was typedefed.  The
anonymous structure has internal linkage, and that would cause an error when
building with modules.  Give the type declaration a tag name to address the
error when building with modules.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@270520 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang-c/Index.h