diff options
author | Chris Lattner <sabre@nondot.org> | 2009-02-19 06:25:12 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-02-19 06:25:12 +0000 |
commit | 005b235fbc8449142befa81ec30e8e4c654182c5 (patch) | |
tree | bcd8234f1efe9a770693ca82bab3d6adb5903f32 /lib/Sema/SemaDecl.cpp | |
parent | e2f0e96e9b34ed7fb0d44f6b9288b9fcf5548ba3 (diff) |
don't new[] an empty array when an AttributeList has
zero expression arguments. This eliminates 2579 1-byte
mallocs when parsing Cocoa.h.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65022 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaDecl.cpp')
0 files changed, 0 insertions, 0 deletions