HomePhabricator

Switch from SmallVector to TinyPtrVector for the list of attributes on a…

Description

Switch from SmallVector to TinyPtrVector for the list of attributes on a declaration. This removes a memory allocation for the common case where the declaration has only one attribute.

Details

Committed
rsmithMay 16 2016, 3:53 PM
Parents
rL269716: Avoid O(n^2) string analysis when handling GNU __asm__ statements.
Branches
Unknown
Tags
Unknown