aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/YAMLParserTest.cpp
diff options
context:
space:
mode:
authorPete Cooper <peter_cooper@apple.com>2015-05-06 23:19:43 +0000
committerPete Cooper <peter_cooper@apple.com>2015-05-06 23:19:43 +0000
commitd2a44619e3aaba7b7a3a6b98406b6a661b222e62 (patch)
tree08f5614322de06586584b94aec8bcf3e25d20cd8 /llvm/unittests/Support/YAMLParserTest.cpp
parent367a9f28c18199d9b259f9c0fdf1365df3133931 (diff)
downloadllvm-d2a44619e3aaba7b7a3a6b98406b6a661b222e62.zip
llvm-d2a44619e3aaba7b7a3a6b98406b6a661b222e62.tar.gz
llvm-d2a44619e3aaba7b7a3a6b98406b6a661b222e62.tar.bz2
Add remove method to operate on AttrBuilder instead of AttributeSet.
Prior to this change we would have to construct a temporary AttributeSet (which isn't temporary at all given that its allocated on the context), just to contain the attributes in the builder, then call remove on that. Now we can just remove any attributes from the (lightweight and really temporary) builder itself. Will be used in a future commit to remove some temporary attributes sets. llvm-svn: 236666
Diffstat (limited to 'llvm/unittests/Support/YAMLParserTest.cpp')
0 files changed, 0 insertions, 0 deletions