/external/clang/test/Index/ |
H A D | cxx-operator-overload.cpp | 5 Cls operator +(const Cls &RHS); 13 Cls Cls::operator +(const Cls &RHS) { while (1) {} } argument
|
/external/llvm/lib/CodeGen/ |
H A D | MachineModuleInfoImpls.cpp | 27 static int SortSymbolPair(const void *LHS, const void *RHS) { argument 30 const MCSymbol *RHSS = ((const PairTy *)RHS)->first;
|
/external/clang/include/clang/AST/ |
H A D | TypeOrdering.h | 51 static bool isEqual(clang::QualType LHS, clang::QualType RHS) { argument 52 return LHS == RHS; 71 static bool isEqual(clang::CanQualType LHS, clang::CanQualType RHS) { argument 72 return LHS == RHS;
|
H A D | BaseSubobject.h | 46 friend bool operator==(const BaseSubobject &LHS, const BaseSubobject &RHS) { argument 47 return LHS.Base == RHS.Base && LHS.BaseOffset == RHS.BaseOffset; 75 const clang::BaseSubobject &RHS) { 76 return LHS == RHS; 74 isEqual(const clang::BaseSubobject &LHS, const clang::BaseSubobject &RHS) argument
|
H A D | DeclContextInternals.h | 43 StoredDeclsList(const StoredDeclsList &RHS) : Data(RHS.Data) { argument 44 if (DeclsTy *RHSVec = RHS.getAsVector()) 54 StoredDeclsList &operator=(const StoredDeclsList &RHS) { argument 57 Data = RHS.Data; 58 if (DeclsTy *RHSVec = RHS.getAsVector())
|
H A D | GlobalDecl.h | 71 friend bool operator==(const GlobalDecl &LHS, const GlobalDecl &RHS) { argument 72 return LHS.Value == RHS.Value; 110 clang::GlobalDecl RHS) { 111 return LHS == RHS; 109 isEqual(clang::GlobalDecl LHS, clang::GlobalDecl RHS) argument
|
H A D | RawCommentList.h | 165 bool operator()(const RawComment &LHS, const RawComment &RHS) { argument 167 RHS.getSourceRange().getBegin()); 170 bool operator()(const RawComment *LHS, const RawComment *RHS) { argument 171 return operator()(*LHS, *RHS);
|
/external/clang/test/SemaCXX/ |
H A D | unused.cpp | 11 APSInt &operator=(const APSInt &RHS); 14 APSInt& APSInt::operator=(const APSInt &RHS) { argument 15 APInt::operator=(RHS);
|
H A D | warn-self-assign.cpp | 19 #define RHS a macro 24 a = RHS; 25 LHS OP RHS; local 28 #undef RHS macro
|
/external/llvm/lib/Transforms/Utils/ |
H A D | CmpInstAnalysis.cpp | 72 Value *llvm::getICmpValue(bool Sign, unsigned Code, Value *LHS, Value *RHS, argument
|
/external/llvm/include/llvm/ADT/ |
H A D | DenseMapInfo.h | 27 //static bool isEqual(const T &LHS, const T &RHS); 47 static bool isEqual(const T *LHS, const T *RHS) { return LHS == RHS; } argument 55 static bool isEqual(const char &LHS, const char &RHS) { argument 56 return LHS == RHS; 65 static bool isEqual(const unsigned& LHS, const unsigned& RHS) { argument 66 return LHS == RHS; 77 static bool isEqual(const unsigned long& LHS, const unsigned long& RHS) { argument 78 return LHS == RHS; 90 const unsigned long long& RHS) { 89 isEqual(const unsigned long long& LHS, const unsigned long long& RHS) argument 100 isEqual(const int& LHS, const int& RHS) argument 114 isEqual(const long& LHS, const long& RHS) argument 126 isEqual(const long long& LHS, const long long& RHS) argument 160 isEqual(const Pair &LHS, const Pair &RHS) argument [all...] |
H A D | SparseBitVector.h | 72 bool operator==(const SparseBitVectorElement &RHS) const { 73 if (ElementIndex != RHS.ElementIndex) 76 if (Bits[i] != RHS.Bits[i]) 81 bool operator!=(const SparseBitVectorElement &RHS) const { 82 return !(*this == RHS); 183 // Union this element with RHS and return true if this one changed. 184 bool unionWith(const SparseBitVectorElement &RHS) { 189 Bits[i] |= RHS.Bits[i]; 196 // Return true if we have any bits in common with RHS 197 bool intersects(const SparseBitVectorElement &RHS) cons 421 SparseBitVectorIterator(const SparseBitVector<ElementSize> *RHS, bool end = false) argument [all...] |
H A D | OwningPtr.h | 66 void swap(OwningPtr &RHS) { argument 67 T *Tmp = RHS.Ptr; 68 RHS.Ptr = Ptr; 119 void swap(OwningArrayPtr &RHS) { argument 120 T *Tmp = RHS.Ptr; 121 RHS.Ptr = Ptr;
|
H A D | ArrayRef.h | 108 bool equals(ArrayRef RHS) const { 109 if (Length != RHS.Length) 112 if (Data[i] != RHS.Data[i]) 287 inline bool operator==(ArrayRef<T> LHS, ArrayRef<T> RHS) { argument 288 return LHS.equals(RHS); 292 inline bool operator!=(ArrayRef<T> LHS, ArrayRef<T> RHS) { argument 293 return !(LHS == RHS);
|
H A D | PackedVector.h | 129 bool operator==(const PackedVector &RHS) const { 130 return Bits == RHS.Bits; 133 bool operator!=(const PackedVector &RHS) const { 134 return Bits != RHS.Bits; 137 const PackedVector &operator=(const PackedVector &RHS) { argument 138 Bits = RHS.Bits; 142 PackedVector &operator|=(const PackedVector &RHS) { argument 143 Bits |= RHS.Bits; 147 void swap(PackedVector &RHS) { argument 148 Bits.swap(RHS [all...] |
H A D | PointerUnion.h | 162 const PointerUnion &operator=(const PT1 &RHS) { argument 164 const_cast<void *>(PointerLikeTypeTraits<PT1>::getAsVoidPointer(RHS))); 168 const PointerUnion &operator=(const PT2 &RHS) { argument 170 const_cast<void *>(PointerLikeTypeTraits<PT2>::getAsVoidPointer(RHS))); 295 const PointerUnion3 &operator=(const PT1 &RHS) { argument 296 Val = InnerUnion(RHS); 299 const PointerUnion3 &operator=(const PT2 &RHS) { argument 300 Val = InnerUnion(RHS); 303 const PointerUnion3 &operator=(const PT3 &RHS) { argument 304 Val = RHS; 404 operator =(const PT1 &RHS) argument 408 operator =(const PT2 &RHS) argument 412 operator =(const PT3 &RHS) argument 416 operator =(const PT4 &RHS) argument [all...] |
/external/llvm/include/llvm/Support/ |
H A D | DebugLoc.h | 108 static bool isEqual(DebugLoc LHS, DebugLoc RHS) { return LHS == RHS; } argument
|
/external/llvm/include/llvm/Transforms/Utils/ |
H A D | ValueMapper.h | 52 static inline RemapFlags operator|(RemapFlags LHS, RemapFlags RHS) { argument 53 return RemapFlags(unsigned(LHS)|unsigned(RHS));
|
/external/llvm/lib/Support/ |
H A D | DeltaAlgorithm.cpp | 32 changeset_ty LHS, RHS; local 36 ((idx < N) ? LHS : RHS).insert(*it); 39 if (!RHS.empty()) 40 Res.push_back(RHS);
|
H A D | TargetRegistry.cpp | 138 static int TargetArraySortFn(const void *LHS, const void *RHS) { argument 140 return ((const pair_ty*)LHS)->first.compare(((const pair_ty*)RHS)->first);
|
/external/llvm/lib/VMCore/ |
H A D | Use.cpp | 23 void Use::swap(Use &RHS) { argument 25 Value *V2(RHS.Val); 32 RHS.removeFromList(); 40 RHS.Val = V1; 41 V1->addUse(RHS); 43 RHS.Val = 0;
|
/external/clang/include/clang/Basic/ |
H A D | ABI.h | 52 const ReturnAdjustment &RHS) { 53 return LHS.NonVirtual == RHS.NonVirtual && 54 LHS.VBaseOffsetOffset == RHS.VBaseOffsetOffset; 58 const ReturnAdjustment &RHS) { 59 if (LHS.NonVirtual < RHS.NonVirtual) 62 return LHS.NonVirtual == RHS.NonVirtual && 63 LHS.VBaseOffsetOffset < RHS.VBaseOffsetOffset; 82 const ThisAdjustment &RHS) { 83 return LHS.NonVirtual == RHS.NonVirtual && 84 LHS.VCallOffsetOffset == RHS 51 operator ==(const ReturnAdjustment &LHS, const ReturnAdjustment &RHS) argument 57 operator <(const ReturnAdjustment &LHS, const ReturnAdjustment &RHS) argument 81 operator ==(const ThisAdjustment &LHS, const ThisAdjustment &RHS) argument 87 operator <(const ThisAdjustment &LHS, const ThisAdjustment &RHS) argument 111 operator ==(const ThunkInfo &LHS, const ThunkInfo &RHS) argument 115 operator <(const ThunkInfo &LHS, const ThunkInfo &RHS) argument [all...] |
/external/clang/include/clang/Edit/ |
H A D | FileOffset.h | 37 friend bool operator==(FileOffset LHS, FileOffset RHS) { argument 38 return LHS.FID == RHS.FID && LHS.Offs == RHS.Offs; 40 friend bool operator!=(FileOffset LHS, FileOffset RHS) { argument 41 return !(LHS == RHS); 43 friend bool operator<(FileOffset LHS, FileOffset RHS) { argument 44 if (LHS.FID != RHS.FID) 45 return LHS.FID < RHS.FID; 46 return LHS.Offs < RHS.Offs; 48 friend bool operator>(FileOffset LHS, FileOffset RHS) { argument 53 operator >=(FileOffset LHS, FileOffset RHS) argument 56 operator <=(FileOffset LHS, FileOffset RHS) argument [all...] |
/external/llvm/unittests/ADT/ |
H A D | DenseMapTest.cpp | 55 bool operator==(const CtorTester &RHS) const { return Value == RHS.Value; } 66 static bool isEqual(const CtorTester &LHS, const CtorTester &RHS) { 67 return LHS == RHS; 301 static bool isEqual(const unsigned& LHS, const unsigned& RHS) { argument 302 return LHS == RHS; 304 static bool isEqual(const char* LHS, const unsigned& RHS) { argument 305 return (unsigned)(LHS[0] - 'a') == RHS;
|
/external/clang/lib/ARCMigrate/ |
H A D | TransZeroOutPropsInDealloc.cpp | 70 // Remove the setter message if RHS is null 72 Expr *RHS = ME->getArg(0); local 74 RHS->isNullPointerConstant(Ctx,
|