parent
8e1ac33ec7
commit
1e8c3b8c02
|
@ -3543,7 +3543,6 @@ Sema::GetTypeSourceInfoForDeclarator(Declarator &D, QualType T,
|
||||||
for (unsigned i = 0, e = D.getNumTypeObjects(); i != e; ++i) {
|
for (unsigned i = 0, e = D.getNumTypeObjects(); i != e; ++i) {
|
||||||
// An AtomicTypeLoc might be produced by an atomic qualifier in this
|
// An AtomicTypeLoc might be produced by an atomic qualifier in this
|
||||||
// declarator chunk.
|
// declarator chunk.
|
||||||
// FIXME: Relative order of this and attributed type loc?
|
|
||||||
if (AtomicTypeLoc ATL = CurrTL.getAs<AtomicTypeLoc>()) {
|
if (AtomicTypeLoc ATL = CurrTL.getAs<AtomicTypeLoc>()) {
|
||||||
fillAtomicQualLoc(ATL, D.getTypeObject(i));
|
fillAtomicQualLoc(ATL, D.getTypeObject(i));
|
||||||
CurrTL = ATL.getValueLoc().getUnqualifiedLoc();
|
CurrTL = ATL.getValueLoc().getUnqualifiedLoc();
|
||||||
|
|
Loading…
Reference in New Issue