@@ -35,47 +35,54 @@ namespace psr {
3535class PhasarConfig {
3636public:
3737 // / Current Phasar version
38- static std::string PhasarVersion () { return XSTR (PHASAR_VERSION); } // NOLINT
38+ // NOLINTNEXTLINE(readability-identifier-naming)
39+ static std::string PhasarVersion () { return XSTR (PHASAR_VERSION); }
3940
4041 // / Stores the label/ tag with which we annotate the LLVM IR.
41- static std::string MetaDataKind () { return " psr.id" ; } // NOLINT
42+ // NOLINTNEXTLINE(readability-identifier-naming)
43+ static std::string MetaDataKind () { return " psr.id" ; }
4244
43- static std::string ConfigurationDirectory () { // NOLINT
44- return ConfigDir;
45- }
45+ // NOLINTNEXTLINE(readability-identifier-naming)
46+ static std::string ConfigurationDirectory () { return ConfigDir; }
4647
4748 // / Specifies the directory in which Phasar is located.
48- static std::string PhasarDirectory () { return PhasarDir; } // NOLINT
49+ // NOLINTNEXTLINE(readability-identifier-naming)
50+ static std::string PhasarDirectory () { return PhasarDir; }
4951
5052 // / Name of the file storing all standard header search paths used for
5153 // / compilation.
52- static std::string HeaderSearchPathsFileName () { // NOLINT
54+ // NOLINTNEXTLINE(readability-identifier-naming)
55+ static std::string HeaderSearchPathsFileName () {
5356 return " standard_header_paths.conf" ;
5457 }
5558
5659 // / Name of the compile_commands.json file (in case we wish to rename)
57- static std::string CompileCommandsJson () { // NOLINT
58- return " compile_commands.json" ;
59- }
60+ // NOLINTNEXTLINE(readability-identifier-naming)
61+ static std::string CompileCommandsJson () { return " compile_commands.json" ; }
6062
6163 // / Default Source- and Sink-Functions path
62- static std::string DefaultSourceSinkFunctionsPath () { // NOLINT
64+ // NOLINTNEXTLINE(readability-identifier-naming)
65+ static std::string DefaultSourceSinkFunctionsPath () {
6366 return std::string (PhasarDirectory () +
6467 " config/phasar-source-sink-function.json" );
6568 }
6669
6770 // Variables to be used in JSON export format
6871 // / Identifier for call graph export
69- static std::string JsonCallGraphID () { return " psr.cg" ; } // NOLINT
72+ // NOLINTNEXTLINE(readability-identifier-naming)
73+ static std::string JsonCallGraphID () { return " psr.cg" ; }
7074
7175 // / Identifier for type hierarchy graph export
72- static std::string JsonTypeHierarchyID () { return " psr.th" ; } // NOLINT
76+ // NOLINTNEXTLINE(readability-identifier-naming)
77+ static std::string JsonTypeHierarchyID () { return " psr.th" ; }
7378
7479 // / Identifier for points-to graph export
75- static std::string JsonPointsToGraphID () { return " psr.pt" ; } // NOLINT
80+ // NOLINTNEXTLINE(readability-identifier-naming)
81+ static std::string JsonPointsToGraphID () { return " psr.pt" ; }
7682
7783 // / Identifier for data-flow results export
78- static std::string JsonDataFlowID () { return " psr.df" ; } // NOLINT
84+ // NOLINTNEXTLINE(readability-identifier-naming)
85+ static std::string JsonDataFlowID () { return " psr.df" ; }
7986
8087 static PhasarConfig &getPhasarConfig ();
8188
@@ -94,16 +101,17 @@ class PhasarConfig {
94101 }
95102
96103 // / Variables map of the parsed command-line parameters
97- static boost::program_options::variables_map &VariablesMap () { // NOLINT
104+ // NOLINTNEXTLINE(readability-identifier-naming)
105+ static boost::program_options::variables_map &VariablesMap () {
98106 static boost::program_options::variables_map VMap;
99107 return VMap;
100108 }
101109
102110 ~PhasarConfig () = default ;
103111 PhasarConfig (const PhasarConfig &) = delete ;
112+ PhasarConfig operator =(const PhasarConfig &) = delete ;
104113 PhasarConfig (PhasarConfig &&) = delete ;
105- PhasarConfig &operator =(const PhasarConfig &) = delete ;
106- PhasarConfig &operator =(PhasarConfig &&) = delete ;
114+ PhasarConfig operator =(PhasarConfig &&) = delete ;
107115
108116private:
109117 PhasarConfig ();
0 commit comments