Skip to content

Commit

Permalink
Fixing formatting to pass clang-format test
Browse files Browse the repository at this point in the history
  • Loading branch information
Neelamagam committed Jan 30, 2024
1 parent a8d5f4f commit bda4ffe
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 22 deletions.
14 changes: 7 additions & 7 deletions src/sst/core/configGraphOutput.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ namespace Core {
/**
* Exception handler class for graph configuration.
* Provides the interface to handle errors through the throw exception.
*/
*/
class ConfigGraphOutputException : public std::exception
{
public:
Expand All @@ -38,19 +38,19 @@ class ConfigGraphOutputException : public std::exception

/**
* @return Exception Message
*/
*/
virtual const char* what() const noexcept override { return exMsg; }

/**
* Exception message generated on call.
*/
/**
* Exception message generated on call.
*/
protected:
char* exMsg;
};

/**
* Outputs configuration data to a specified file path.
*/
*/
class ConfigGraphOutput
{
public:
Expand All @@ -62,7 +62,7 @@ class ConfigGraphOutput
* @param cfg Constant pointer to SST configuration
* @param graph Constant pointer to SST configuration graph
* @return void
*/
*/
virtual void generate(const Config* cfg, ConfigGraph* graph) = 0;

protected:
Expand Down
2 changes: 1 addition & 1 deletion src/sst/core/cputimer.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

/**
* @return Current CPU time using the time of day. Timezone information is not filled.
*/
*/
double sst_get_cpu_time();

#endif // SST_CORE_CPU_TIMER_H
12 changes: 6 additions & 6 deletions src/sst/core/exit.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,18 +59,18 @@ class Exit : public Action

/** Gets the end time of the simulation
* @return Time when simulation ends
*/
SimTime_t getEndTime() { return end_time; }
*/
SimTime_t getEndTime() { return end_time; }

/** Stores the time the simulation has ended
* @param time Current simulation time
* @return void
*/
void setEndTime(SimTime_t time) { end_time = time; }
*/
void setEndTime(SimTime_t time) { end_time = time; }

/** Computes the end time of the simulation
* @return End time of the simulation
*/
*/
SimTime_t computeEndTime();
void execute(void) override;
void check();
Expand All @@ -79,7 +79,7 @@ class Exit : public Action
* @param header String to preface the exit action log
* @param out SST Output logger object
* @return void
*/
*/
void print(const std::string& header, Output& out) const override
{
out.output(
Expand Down
16 changes: 8 additions & 8 deletions src/sst/core/linkPair.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ namespace SST {
class LinkPair
{
public:
/** Create a new LinkPair. This is used when the endpoints are in the same partition.
/** Create a new LinkPair. This is used when the endpoints are in the same partition.
* @param order Value used to enforce the link order.
*/
*/
LinkPair(LinkId_t order) : left(new Link(order)), right(new Link(order))
{
my_id = order;
Expand All @@ -34,10 +34,10 @@ class LinkPair
right->pair_link = left;
}

/** Create a new LinkPair. This is used when the endpoints are in different partitions.
/** Create a new LinkPair. This is used when the endpoints are in different partitions.
* @param order Value used to enforce the link order.
* @param remote_tag Used to look up the correct link on the other side.
*/
*/
LinkPair(LinkId_t order, LinkId_t remote_tag) : left(new Link(remote_tag)), right(new Link(order))
{
my_id = order;
Expand All @@ -48,14 +48,14 @@ class LinkPair

virtual ~LinkPair() {}

/** Return the Left Link
/** Return the Left Link
* @return Left link
*/
*/
inline Link* getLeft() { return left; }

/** Return the Right Link
/** Return the Right Link
* @return Right link
*/
*/
inline Link* getRight() { return right; }

private:
Expand Down

0 comments on commit bda4ffe

Please sign in to comment.