forked from OSchip/llvm-project
Change variable name to Tq (from TQ)
because silly gcc 3.4.6 barfs on this construct. Type.h defines an "enum TQ", which makes the parser to err. llvm-svn: 47438
This commit is contained in:
parent
d723b13f14
commit
5c27a96967
|
@ -760,9 +760,9 @@ void QualType::getAsStringInternal(std::string &S) const {
|
|||
}
|
||||
|
||||
// Print qualifiers as appropriate.
|
||||
if (unsigned TQ = getCVRQualifiers()) {
|
||||
if (unsigned Tq = getCVRQualifiers()) {
|
||||
std::string TQS;
|
||||
AppendTypeQualList(TQS, TQ);
|
||||
AppendTypeQualList(TQS, Tq);
|
||||
if (!S.empty())
|
||||
S = TQS + ' ' + S;
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue