v.g.vassilev added inline comments.
================
Comment at: clang/include/clang/AST/Decl.h:4345
+ }
+ bool isValuePrinting() const { return MissingSemi; }
+ void setValuePrinting(bool Missing = true) { MissingSemi = Missing; }
----------------
We should rename these to `isMissingSemi` or similar.
================
Comment at: clang/include/clang/Interpreter/Interpreter.h:37
+class Value;
class CompilerInstance;
----------------
This seems to be redundant.
================
Comment at: clang/include/clang/Interpreter/Interpreter.h:97
+
+ enum InterfaceKind { NoAlloc, WithAlloc, CopyArray };
+
----------------
This can probably go in the RuntimeInterfaceBuilder class.
================
Comment at: clang/lib/Interpreter/Interpreter.cpp:350
std::list<PartialTranslationUnit> &PTUs = IncrParser->getPTUs();
- if (N > PTUs.size())
+ if (N + InitPTUSize > PTUs.size())
return llvm::make_error<llvm::StringError>("Operation failed. "
----------------
v.g.vassilev wrote:
> I'd propose `IncrParser->getPTUs()` to return the list starting from
> `InitPTUSize`. That should solve the issue you see.
Ping.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D141215/new/
https://reviews.llvm.org/D141215
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits