[PATCH] D99825: [cmake] Enable -Werror=return-type for clang
    Dávid Bolvanský via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Apr  6 10:54:14 PDT 2021
    
    
  
xbolva00 added a comment.
>> Unlike in C, in C++, flowing off the end of a non-void function other than main results in undefined behavior even when the value of the function is not used.
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D99825/new/
https://reviews.llvm.org/D99825
    
    
More information about the llvm-commits
mailing list