@@ -278,40 +278,50 @@ class Sema;
278
278
// / Whether this is the deprecated conversion of a
279
279
// / string literal to a pointer to non-const character data
280
280
// / (C++ 4.2p2).
281
+ LLVM_PREFERRED_TYPE (bool )
281
282
unsigned DeprecatedStringLiteralToCharPtr : 1 ;
282
283
283
284
// / Whether the qualification conversion involves a change in the
284
285
// / Objective-C lifetime (for automatic reference counting).
286
+ LLVM_PREFERRED_TYPE (bool )
285
287
unsigned QualificationIncludesObjCLifetime : 1 ;
286
288
287
289
// / IncompatibleObjC - Whether this is an Objective-C conversion
288
290
// / that we should warn about (if we actually use it).
291
+ LLVM_PREFERRED_TYPE (bool )
289
292
unsigned IncompatibleObjC : 1 ;
290
293
291
294
// / ReferenceBinding - True when this is a reference binding
292
295
// / (C++ [over.ics.ref]).
296
+ LLVM_PREFERRED_TYPE (bool )
293
297
unsigned ReferenceBinding : 1 ;
294
298
295
299
// / DirectBinding - True when this is a reference binding that is a
296
300
// / direct binding (C++ [dcl.init.ref]).
301
+ LLVM_PREFERRED_TYPE (bool )
297
302
unsigned DirectBinding : 1 ;
298
303
299
304
// / Whether this is an lvalue reference binding (otherwise, it's
300
305
// / an rvalue reference binding).
306
+ LLVM_PREFERRED_TYPE (bool )
301
307
unsigned IsLvalueReference : 1 ;
302
308
303
309
// / Whether we're binding to a function lvalue.
310
+ LLVM_PREFERRED_TYPE (bool )
304
311
unsigned BindsToFunctionLvalue : 1 ;
305
312
306
313
// / Whether we're binding to an rvalue.
314
+ LLVM_PREFERRED_TYPE (bool )
307
315
unsigned BindsToRvalue : 1 ;
308
316
309
317
// / Whether this binds an implicit object argument to a
310
318
// / non-static member function without a ref-qualifier.
319
+ LLVM_PREFERRED_TYPE (bool )
311
320
unsigned BindsImplicitObjectArgumentWithoutRefQualifier : 1 ;
312
321
313
322
// / Whether this binds a reference to an object with a different
314
323
// / Objective-C lifetime qualifier.
324
+ LLVM_PREFERRED_TYPE (bool )
315
325
unsigned ObjCLifetimeConversionBinding : 1 ;
316
326
317
327
// / FromType - The type that this conversion is converting
@@ -541,9 +551,11 @@ class Sema;
541
551
};
542
552
543
553
// / ConversionKind - The kind of implicit conversion sequence.
554
+ LLVM_PREFERRED_TYPE (Kind)
544
555
unsigned ConversionKind : 31 ;
545
556
546
557
// Whether the initializer list was of an incomplete array.
558
+ LLVM_PREFERRED_TYPE (bool )
547
559
unsigned InitializerListOfIncompleteArray : 1 ;
548
560
549
561
// / When initializing an array or std::initializer_list from an
@@ -878,6 +890,7 @@ class Sema;
878
890
CallExpr::ADLCallKind IsADLCandidate : 1 ;
879
891
880
892
// / Whether this is a rewritten candidate, and if so, of what kind?
893
+ LLVM_PREFERRED_TYPE (OverloadCandidateRewriteKind)
881
894
unsigned RewriteKind : 2 ;
882
895
883
896
// / FailureKind - The reason why this candidate is not viable.
0 commit comments