VS: Add method to re-parse specific option parser fields

This will allow a client to parse flags, replace the flag tables, and
then re-parse a field in which flags for a secondary tool were
collected.
This commit is contained in:
Brad King
2017-03-07 15:10:30 -05:00
parent a05fc93ee6
commit f7bb40c92d
2 changed files with 23 additions and 1 deletions

View File

@@ -52,6 +52,10 @@ public:
void PrependInheritedString(std::string const& key);
// Parse the content of the given flag table entry again to extract
// known flags and leave the rest in the original entry.
void Reparse(std::string const& key);
// Fix the ExceptionHandling option to default to off.
void FixExceptionHandlingDefault();
@@ -84,6 +88,8 @@ private:
bool FortranRuntimeDLL;
bool FortranRuntimeMT;
std::string UnknownFlagField;
virtual void StoreUnknownFlag(const char* flag);
};