ABataev added inline comments.
================
Comment at: clang/lib/CodeGen/CGOpenMPRuntime.cpp:11992
->getCanonicalDecl();
+ assert(ParamPositions.find(PVD) != ParamPositions.end());
Pos = ParamPositions[PVD];
----------------
Better to use `count()` or `contain()` (do not remember which one is defined
for DenseMap), also add messages to asserts.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122338/new/
https://reviews.llvm.org/D122338
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits