]> granicus.if.org Git - clang/commit
[NFC] Fix AttributeList allocated_size for ParsedType.
authorErich Keane <erich.keane@intel.com>
Fri, 22 Jun 2018 17:34:44 +0000 (17:34 +0000)
committerErich Keane <erich.keane@intel.com>
Fri, 22 Jun 2018 17:34:44 +0000 (17:34 +0000)
commit349642f32014f2566e5840782903ff5c1bd31fc4
treea05d38d54496b7d026fd702c497a5eaa5acc3e62
parent6834f366207620247dd99f5c1fabcc1f4f78ca2d
[NFC] Fix AttributeList allocated_size for ParsedType.

This if/elseif structure seems to be missing this case.
Previously, this would report a size of 1 pointer too small.
This didn't really change anything besides failing to reclaim
a very small amount of memory.

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