Skip to content

Commit 727abff

Browse files
committed
few minor things
1 parent 30411f6 commit 727abff

7 files changed

Lines changed: 17 additions & 15 deletions

File tree

include/phasar/PhasarLLVM/Plugins/Interfaces/IfdsIde/IDETabulationProblemPlugin.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ extern std::map<std::string,
9191
const ProjectIRDB *IRDB, const LLVMTypeHierarchy *TH,
9292
const LLVMBasedICFG *ICF, LLVMPointsToInfo *PT,
9393
std::set<std::string> EntryPoints)>
94-
IDETabulationProblemPluginFactory; // NOLINT
94+
IDETabulationProblemPluginFactory;
9595

9696
} // namespace psr
9797

include/phasar/PhasarLLVM/Plugins/Interfaces/Mono/InterMonoProblemPlugin.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ extern std::map<std::string,
5656
const ProjectIRDB *IRDB, const LLVMTypeHierarchy *TH,
5757
const LLVMBasedICFG *ICF, LLVMPointsToInfo *PT,
5858
std::set<std::string> EntryPoints)>
59-
InterMonoProblemPluginFactory; // NOLINT
59+
InterMonoProblemPluginFactory;
6060

6161
} // namespace psr
6262

include/phasar/PhasarLLVM/Plugins/Interfaces/Mono/IntraMonoProblemPlugin.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ extern std::map<std::string,
5555
const ProjectIRDB *IRDB, const LLVMTypeHierarchy *TH,
5656
const LLVMBasedCFG *CF, LLVMPointsToInfo *PT,
5757
std::set<std::string> EntryPoints)>
58-
IntraMonoProblemPluginFactory; // NOLINT
58+
IntraMonoProblemPluginFactory;
5959

6060
} // namespace psr
6161

include/phasar/PhasarLLVM/Plugins/PluginFactories.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
* Philipp Schubert and others
88
*****************************************************************************/
99

10-
#ifndef PHASAR_PHASARLLVM_PLUGINS_PLUGINFACTORIES_H_
11-
#define PHASAR_PHASARLLVM_PLUGINS_PLUGINFACTORIES_H_
10+
#ifndef PHASAR_PHASARLLVM_PLUGINS_PLUGINFACTORIES_H
11+
#define PHASAR_PHASARLLVM_PLUGINS_PLUGINFACTORIES_H
1212

1313
// Problem constructors
1414
#include "phasar/PhasarLLVM/Plugins/PluginCtors.h"

lib/PhasarLLVM/Plugins/IDETabulationProblemTestPlugin.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ IDETabulationProblemTestPlugin::IDETabulationProblemTestPlugin(
4040
}
4141

4242
const FlowFact *IDETabulationProblemTestPlugin::createZeroValue() const {
43-
static auto *Zero = new ValueFlowFactWrapper(nullptr); // NOLINT
43+
static auto *Zero = new ValueFlowFactWrapper(nullptr);
4444
return Zero;
4545
}
4646

lib/PhasarLLVM/Plugins/IFDSSFB901TaintAnalysis.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ const FlowFact *IFDSSFB901TaintAnalysis::createZeroValue() const {
5858
// static auto zero =
5959
// std::make_unique<ValueFlowFactWrapper>(LLVMZeroValue::getInstance());
6060
// return zero.get();
61-
static auto *Zero = new ValueFlowFactWrapper(nullptr); // NOLINT
61+
static auto *Zero = new ValueFlowFactWrapper(nullptr);
6262
return Zero;
6363
}
6464

lib/PhasarLLVM/Plugins/PluginFactories.cpp

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,26 @@
77
* Philipp Schubert and others
88
*****************************************************************************/
99

10+
#include <memory>
11+
1012
#include "phasar/PhasarLLVM/Plugins/PluginFactories.h"
1113

12-
using namespace std;
1314
using namespace psr;
1415

1516
namespace psr {
1617

1718
// Maps for registering the plugins
18-
map<string, IFDSPluginConstructor> IFDSTabulationProblemPluginFactory; // NOLINT
19+
std::map<std::string, IFDSPluginConstructor> IFDSTabulationProblemPluginFactory;
1920

20-
map<string, IDEPluginConstructor> IDETabulationProblemPluginFactory; // NOLINT
21+
std::map<std::string, IDEPluginConstructor> IDETabulationProblemPluginFactory;
2122

22-
map<string, IntraMonoPluginConstructor> IntraMonoProblemPluginFactory; // NOLINT
23+
std::map<std::string, IntraMonoPluginConstructor> IntraMonoProblemPluginFactory;
2324

24-
map<string, InterMonoPluginConstructor> InterMonoProblemPluginFactory; // NOLINT
25+
std::map<std::string, InterMonoPluginConstructor> InterMonoProblemPluginFactory;
2526

26-
map<string, unique_ptr<ICFGPlugin> (*)(ProjectIRDB &,
27-
const vector<string> &EntryPoints)>
28-
ICFGPluginFactory; // NOLINT
27+
std::map<std::string,
28+
std::unique_ptr<ICFGPlugin> (*)(
29+
ProjectIRDB &, const std::vector<std::string> &EntryPoints)>
30+
ICFGPluginFactory;
2931

3032
} // namespace psr

0 commit comments

Comments
 (0)