llvm-project/clang/lib
Sam McCall 835d67f6c7 [Sema] Correct typos in return statements so the return types of 'auto' functions are always deduced.
Summary:
e.g.
  auto foo() {
    return no_such_thing; // Return value is a TypoExpr
  }
  using T = decltype(foo()); // Uh-oh, undeduced auto.

Reviewers: rsmith

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D61649

llvm-svn: 360224
2019-05-08 05:49:42 +00:00
..
ARCMigrate Recommit r359859 "[Attribute/Diagnostics] Print macro if definition is an attribute declaration" 2019-05-07 03:20:17 +00:00
AST [OpenCL] Prevent mangling kernel functions. 2019-05-07 14:22:34 +00:00
ASTMatchers Added an AST matcher for declarations that are in the `std` namespace 2019-05-03 12:50:00 +00:00
Analysis [c++20] Implement P1009R2: allow omitting the array bound in an array 2019-05-06 03:47:15 +00:00
Basic -frewrite-imports: Add support for wildcard rules in umbrella modules with 2019-05-07 21:38:51 +00:00
CodeGen [COFF] Use COFF stubs for extern_weak functions 2019-05-07 23:06:21 +00:00
CrossTU [analyzer][CrossTU] Extend CTU to VarDecls with initializer 2019-04-23 11:04:41 +00:00
Driver Revert "[OpenMP][Clang] Support for target math functions" 2019-05-07 21:08:15 +00:00
Edit Range-style std::find{,_if} -> llvm::find{,_if}. NFC 2019-03-31 08:48:19 +00:00
Format [clang-format] Fix bug in block comment reflow that joins * and / 2019-05-03 23:15:40 +00:00
Frontend Revert r359949 "[clang] adding explicit(bool) from c++2a" 2019-05-06 09:51:10 +00:00
FrontendTool [analyzer] Don't display implementation checkers under -analyzer-checker-help, but do under the new flag -analyzer-checker-help-hidden 2019-05-01 19:56:47 +00:00
Headers Revert "[OpenMP][Clang] Support for target math functions" 2019-05-07 21:08:15 +00:00
Index Use llvm::stable_sort 2019-04-24 14:43:05 +00:00
Lex -frewrite-imports: Add support for wildcard rules in umbrella modules with 2019-05-07 21:38:51 +00:00
Parse [hip] Fix ambiguity from `>>>` of CUDA. 2019-05-08 00:52:33 +00:00
Rewrite Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Sema [Sema] Correct typos in return statements so the return types of 'auto' functions are always deduced. 2019-05-08 05:49:42 +00:00
Serialization Recommit r359859 "[Attribute/Diagnostics] Print macro if definition is an attribute declaration" 2019-05-07 03:20:17 +00:00
StaticAnalyzer [analyzer] Fix a crash when doing RVO from within blocks. 2019-05-07 22:33:13 +00:00
Tooling [Tooling] Add -x flags when inferring compile commands for files with no/invalid extension. 2019-05-07 14:34:06 +00:00
CMakeLists.txt Add Cross Translation Unit support library 2017-09-22 11:11:01 +00:00