forked from OSchip/llvm-project
parent
0d4cebd434
commit
eafc4ee643
|
@ -211,10 +211,8 @@ namespace {
|
||||||
/// Diagnose all the ignored type attributes, given that the
|
/// Diagnose all the ignored type attributes, given that the
|
||||||
/// declarator worked out to the given type.
|
/// declarator worked out to the given type.
|
||||||
void diagnoseIgnoredTypeAttrs(QualType type) const {
|
void diagnoseIgnoredTypeAttrs(QualType type) const {
|
||||||
for (SmallVectorImpl<AttributeList*>::const_iterator
|
for (auto *Attr : ignoredTypeAttrs)
|
||||||
i = ignoredTypeAttrs.begin(), e = ignoredTypeAttrs.end();
|
diagnoseBadTypeAttribute(getSema(), *Attr, type);
|
||||||
i != e; ++i)
|
|
||||||
diagnoseBadTypeAttribute(getSema(), **i, type);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
~TypeProcessingState() {
|
~TypeProcessingState() {
|
||||||
|
|
Loading…
Reference in New Issue