[PATCH] D75701: Initialize IsSurrogate

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Mar 7 12:29:11 PST 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rGa5704f92b835: [Sema] Initialize IsSurrogate (authored by espindola, committed by MaskRay).
Herald added a project: clang.

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D75701/new/

https://reviews.llvm.org/D75701

Files:
  clang/include/clang/Sema/Overload.h


Index: clang/include/clang/Sema/Overload.h
===================================================================
--- clang/include/clang/Sema/Overload.h
+++ clang/include/clang/Sema/Overload.h
@@ -908,7 +908,7 @@
   private:
     friend class OverloadCandidateSet;
     OverloadCandidate()
-        : IsADLCandidate(CallExpr::NotADL), RewriteKind(CRK_None) {}
+        : IsSurrogate(false), IsADLCandidate(CallExpr::NotADL), RewriteKind(CRK_None) {}
   };
 
   /// OverloadCandidateSet - A set of overload candidates, used in C++


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75701.248958.patch
Type: text/x-patch
Size: 528 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200307/03f06cd8/attachment.bin>


More information about the cfe-commits mailing list