@@ -719,9 +719,8 @@ bool ImportProject::importVcxproj(const std::string &filename, std::map<std::str
719719 }
720720 }
721721 }
722- }
723- else {
724- for (const tinyxml2::XMLElement* e = node->FirstChildElement (); e; e = e->NextSiblingElement ()) {
722+ } else {
723+ for (const tinyxml2::XMLElement *e = node->FirstChildElement (); e; e = e->NextSiblingElement ()) {
725724 if (std::strcmp (e->Name (), " ClCompile" ) == 0 ) {
726725 const char * include = e->Attribute (" Include" );
727726 if (include && Path::acceptFile (include)) {
@@ -731,19 +730,16 @@ bool ImportProject::importVcxproj(const std::string &filename, std::map<std::str
731730 }
732731 }
733732 }
734- }
735- else if (std::strcmp (node->Name (), " ItemDefinitionGroup" ) == 0 ) {
733+ } else if (std::strcmp (node->Name (), " ItemDefinitionGroup" ) == 0 ) {
736734 itemDefinitionGroupList.emplace_back (node, additionalIncludeDirectories);
737- }
738- else if (std::strcmp (node->Name (), " PropertyGroup" ) == 0 ) {
735+ } else if (std::strcmp (node->Name (), " PropertyGroup" ) == 0 ) {
739736 importPropertyGroup (node, variables, includePath, &useOfMfc);
740- }
741- else if (std::strcmp (node->Name (), " ImportGroup" ) == 0 ) {
742- const char * labelAttribute = node->Attribute (" Label" );
737+ } else if (std::strcmp (node->Name (), " ImportGroup" ) == 0 ) {
738+ const char *labelAttribute = node->Attribute (" Label" );
743739 if (labelAttribute && std::strcmp (labelAttribute, " PropertySheets" ) == 0 ) {
744- for (const tinyxml2::XMLElement* e = node->FirstChildElement (); e; e = e->NextSiblingElement ()) {
740+ for (const tinyxml2::XMLElement * e = node->FirstChildElement (); e; e = e->NextSiblingElement ()) {
745741 if (std::strcmp (e->Name (), " Import" ) == 0 ) {
746- const char * projectAttribute = e->Attribute (" Project" );
742+ const char * projectAttribute = e->Attribute (" Project" );
747743 if (projectAttribute)
748744 loadVisualStudioProperties (projectAttribute, variables, includePath, additionalIncludeDirectories, itemDefinitionGroupList);
749745 }
0 commit comments