forked from qt-creator/qt-creator
		
	Merge remote-tracking branch 'gerrit/2.6'
Conflicts: src/libs/utils/environment.cpp src/plugins/android/androidtoolchain.cpp src/plugins/projectexplorer/gcctoolchain.cpp src/plugins/qt4projectmanager/qt4buildconfiguration.cpp src/plugins/qtsupport/baseqtversion.cpp src/shared/proparser/qmakeevaluator.cpp Change-Id: I554e96445a4d2b9ba0cc173ecd766091ee921aa2
This commit is contained in:
		@@ -769,8 +769,11 @@ ClassOrNamespace *ClassOrNamespace::nestedType(const Name *name, ClassOrNamespac
 | 
			
		||||
                        // Qualified names in general.
 | 
			
		||||
                        // Ex.: template <class T> class A : public B<T>::Type {};
 | 
			
		||||
                        ClassOrNamespace *binding = this;
 | 
			
		||||
                        if (const Name *qualification = qBaseName->base())
 | 
			
		||||
                            binding = lookupType(qualification);
 | 
			
		||||
                        if (const Name *qualification = qBaseName->base()) {
 | 
			
		||||
                            const TemplateNameId *baseTemplName = qualification->asTemplateNameId();
 | 
			
		||||
                            if (!baseTemplName || !compareName(baseTemplName, templ->name()))
 | 
			
		||||
                                binding = lookupType(qualification);
 | 
			
		||||
                        }
 | 
			
		||||
                        baseName = qBaseName->name();
 | 
			
		||||
 | 
			
		||||
                        if (binding)
 | 
			
		||||
 
 | 
			
		||||
@@ -810,8 +810,11 @@ bool Preprocessor::handleIdentifier(PPToken *tk)
 | 
			
		||||
    PPToken oldMarkerTk;
 | 
			
		||||
 | 
			
		||||
    if (macro->isFunctionLike()) {
 | 
			
		||||
        if (!expandFunctionlikeMacros())
 | 
			
		||||
        if (!expandFunctionlikeMacros()
 | 
			
		||||
                // Still expand if this originally started with an object-like macro.
 | 
			
		||||
                && m_state.m_expansionStatus != Expanding) {
 | 
			
		||||
            return false;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        // Collect individual tokens that form the macro arguments.
 | 
			
		||||
        QVector<QVector<PPToken> > allArgTks;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user