Displaying 1 result from an estimated 1 matches for "setkeep".
2013 Jul 12
14
[LLVMdev] [Proposal] Parallelize post-IPO stage.
...}
+ const std::string &getPath() { return Fpath; }
+
+ error_code &getLastErrCode() { return LastErr; }
+ std::string &getLastErrStr() { return LastErrStr; }
+
+ bool ErrOccur() const {
+ return LastErr != error_code::success() || !LastErrStr.empty();
+ }
+
+ void setKeep() { Keep = true; }
+ bool toKeep() const { return Keep; }
+
+ private:
+ friend class IPOFileMgr;
+ IPOFile(const char* DirName, const char *BaseName, bool Keep=false);
+ ~IPOFile();
+
+ private:
+ std::string Fname;
+ std::string Fpath;
+ error_code LastErr;
+ std::stri...