Skip to content

Commit 6be46e3

Browse files
committed
s [skip ci]
1 parent bde243e commit 6be46e3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/preprocessor.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,9 @@ class CPPCHECKLIB WARN_UNUSED Preprocessor {
119119

120120
void setPlatformInfo();
121121

122+
/**
123+
* @throws simplecpp::Output thrown in case of preprocessing error
124+
*/
122125
simplecpp::TokenList preprocess(const std::string &cfg, std::vector<std::string> &files, bool throwError = false);
123126

124127
std::string getcode(const std::string &cfg, std::vector<std::string> &files, bool writeLocations);
@@ -145,6 +148,9 @@ class CPPCHECKLIB WARN_UNUSED Preprocessor {
145148
private:
146149
static bool hasErrors(const simplecpp::Output &output);
147150

151+
/**
152+
* @throws simplecpp::Output thrown in case of preprocessing error
153+
*/
148154
bool handleErrors(const simplecpp::OutputList &outputList, bool throwError);
149155

150156
static void simplifyPragmaAsmPrivate(simplecpp::TokenList &tokenList);

0 commit comments

Comments
 (0)