We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent adecfd4 commit 8743f30Copy full SHA for 8743f30
clang/include/clang/Basic/DiagnosticSemaKinds.td
@@ -717,10 +717,9 @@ def warn_falloff_nonvoid : Warning<
717
"non-void %select{function|block|lambda|coroutine}0 "
718
"does not return a value%select{| in all control paths}1">,
719
InGroup<ReturnType>;
720
-def err_falloff_nonvoid : Warning<
+def err_falloff_nonvoid : Error<
721
722
- "does not return a value%select{| in all control paths}1">,
723
- InGroup<ReturnType>;
+ "does not return a value%select{| in all control paths}1">;
724
def warn_const_attr_with_pure_attr : Warning<
725
"'const' attribute imposes more restrictions; 'pure' attribute ignored">,
726
InGroup<IgnoredAttributes>;
0 commit comments