File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -113,12 +113,18 @@ class CPPCHECKLIB WARN_UNUSED Preprocessor {
113113
114114 std::vector<RemarkComment> getRemarkComments () const ;
115115
116+ /* *
117+ * @throws simplecpp::Output thrown in case of preprocessing error
118+ */
116119 bool loadFiles (std::vector<std::string> &files);
117120
118121 void removeComments ();
119122
120123 void setPlatformInfo ();
121124
125+ /* *
126+ * @throws simplecpp::Output thrown in case of preprocessing error
127+ */
122128 simplecpp::TokenList preprocess (const std::string &cfg, std::vector<std::string> &files, bool throwError = false );
123129
124130 std::string getcode (const std::string &cfg, std::vector<std::string> &files, bool writeLocations);
@@ -145,6 +151,9 @@ class CPPCHECKLIB WARN_UNUSED Preprocessor {
145151private:
146152 static bool hasErrors (const simplecpp::Output &output);
147153
154+ /* *
155+ * @throws simplecpp::Output thrown in case of preprocessing error
156+ */
148157 bool handleErrors (const simplecpp::OutputList &outputList, bool throwError);
149158
150159 static void simplifyPragmaAsmPrivate (simplecpp::TokenList &tokenList);
You can’t perform that action at this time.
0 commit comments