balazske added inline comments.

================
Comment at: 
clang/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h:435
+  /// If the call returns a C++ record type then the region of its return value
+  // can be retrieved from its construction context.
+  Optional<SVal> getReturnValueUnderConstruction(unsigned BlockCount) const;
----------------
A `/` is missing (or too much of `/` above?).
It looks like that the comment tells something about how the function works, 
not what it does. Or not? (The function works by retrieving the construction 
context and something from it, but that seems to be the return value, not a 
region. This is why this comment can be confusing.) This belongs better to the 
implementation, not to the documentation part. The documentation could contain 
something about how and when the function can be used to get a non-null value.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D80366/new/

https://reviews.llvm.org/D80366



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to