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:
@@ -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
|
||||
|
||||
@@ -39,6 +39,6 @@ using util::FloatLatitude;
|
||||
using util::FloatLongitude;
|
||||
using util::toFixed;
|
||||
using util::toFloating;
|
||||
}
|
||||
} // namespace osrm
|
||||
|
||||
#endif
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -32,6 +32,6 @@ enum ErrorCode
|
||||
__ENDMARKER__
|
||||
#endif
|
||||
};
|
||||
}
|
||||
} // namespace osrm
|
||||
|
||||
#endif // OSRM_ERRORCODES_HPP
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -134,6 +134,6 @@ class OSRM final
|
||||
private:
|
||||
std::unique_ptr<engine::EngineInterface> engine_;
|
||||
};
|
||||
}
|
||||
} // namespace osrm
|
||||
|
||||
#endif // OSRM_HPP
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user