]> granicus.if.org Git - clang/commit
Make the type of the IntegerLiteral for bitfield paddings an actual
authorDouglas Gregor <dgregor@apple.com>
Wed, 3 Aug 2011 16:26:46 +0000 (16:26 +0000)
committerDouglas Gregor <dgregor@apple.com>
Wed, 3 Aug 2011 16:26:46 +0000 (16:26 +0000)
commit0bbea1b87ef3849f5a8591c480f114fb4393d493
tree2debaa7f1996e2a5744e164c086813936c490135
parent4192f0336e86532904b82ae63cd57b966f1c6dfd
Make the type of the IntegerLiteral for bitfield paddings an actual
integer, and initialise its TypeSourceInfo. The initialisation fixes a
crash when using pre-compiled preambles with C++ code-completion. From
Erik Verbruggen! Fixes PR10511.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@136786 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDecl.cpp