================
@@ -42,7 +62,10 @@ ExceptionEscapeCheck::ExceptionEscapeCheck(StringRef Name,
CheckDestructors(Options.get("CheckDestructors", true)),
CheckMoveMemberFunctions(Options.get("CheckMoveMemberFunctions", true)),
CheckMain(Options.get("CheckMain", true)),
- CheckNothrowFunctions(Options.get("CheckNothrowFunctions", true)) {
+ CheckNothrowFunctions(Options.get("CheckNothrowFunctions", true)),
+ TreatFunctionsWithoutSpecificationAsThrowing(
+ Options.get("TreatFunctionsWithoutSpecificationAsThrowing",
+ FunctionsThatShouldNotThrowPolicy::None)) {
----------------
HerrCai0907 wrote:
This enumeration name is misleading. why it is named
`FunctionsThatShouldNotThrowPolicy`?
```suggestion
TreatFunctionsWithoutSpecification::None)) {
```
https://github.com/llvm/llvm-project/pull/168324
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits