Upgrade formatting to clang-format 10 (#5895)

* Update formatting tools to clang-format-10

* Reformat using clang-format-10.0.09
This commit is contained in:
Daniel Patterson
2020-11-26 07:21:39 -08:00
committed by GitHub
parent a3f1c2afb0
commit 50d9632ed7
373 changed files with 1198 additions and 1163 deletions
+2 -2
View File
@@ -34,7 +34,7 @@ namespace contractor
{
struct ContractorConfig;
} // ns contractor
} // namespace contractor
/**
* Runs contraction hierarchy computation process.
@@ -45,6 +45,6 @@ struct ContractorConfig;
*/
void contract(const contractor::ContractorConfig &config);
} // ns osrm
} // namespace osrm
#endif // OSRM_CONTRACTOR_HPP
+1 -1
View File
@@ -39,6 +39,6 @@ using util::FloatLatitude;
using util::FloatLongitude;
using util::toFixed;
using util::toFloating;
}
} // namespace osrm
#endif
+2 -2
View File
@@ -34,7 +34,7 @@ namespace osrm
namespace customizer
{
struct CustomizationConfig;
} // ns customizer
} // namespace customizer
/**
* Runs customize pipeline stage.
@@ -45,6 +45,6 @@ struct CustomizationConfig;
*/
void customize(const customizer::CustomizationConfig &config);
} // ns osrm
} // namespace osrm
#endif // OSRM_CUSTOMIZER_HPP
+1 -1
View File
@@ -32,6 +32,6 @@ enum ErrorCode
__ENDMARKER__
#endif
};
}
} // namespace osrm
#endif // OSRM_ERRORCODES_HPP
+2 -2
View File
@@ -32,8 +32,8 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
namespace osrm
{
using util::RuntimeError;
using util::exception;
}
using util::RuntimeError;
} // namespace osrm
#endif
+2 -2
View File
@@ -34,7 +34,7 @@ namespace extractor
{
struct ExtractorConfig;
} // ns contractor
} // namespace extractor
/**
* Runs extraction process.
@@ -45,6 +45,6 @@ struct ExtractorConfig;
*/
void extract(const extractor::ExtractorConfig &config);
} // ns osrm
} // namespace osrm
#endif // OSRM_EXTRACTOR_HPP
+1 -1
View File
@@ -134,6 +134,6 @@ class OSRM final
private:
std::unique_ptr<engine::EngineInterface> engine_;
};
}
} // namespace osrm
#endif // OSRM_HPP
+5 -5
View File
@@ -39,8 +39,8 @@ namespace util
namespace json
{
struct Object;
} // ns json
} // ns util
} // namespace json
} // namespace util
namespace engine
{
@@ -52,11 +52,11 @@ struct NearestParameters;
struct TripParameters;
struct MatchParameters;
struct TileParameters;
} // ns api
} // namespace api
class EngineInterface;
struct EngineConfig;
} // ns engine
} // ns osrm
} // namespace engine
} // namespace osrm
#endif
+2 -2
View File
@@ -34,7 +34,7 @@ namespace osrm
namespace partitioner
{
struct PartitionerConfig;
} // ns partition
} // namespace partitioner
/**
* Runs recursive partitioning process.
@@ -45,6 +45,6 @@ struct PartitionerConfig;
*/
void partition(const partitioner::PartitionerConfig &config);
} // ns osrm
} // namespace osrm
#endif // OSRM_PARTITIONER_HPP