diff options
author | shadchin <shadchin@yandex-team.ru> | 2022-02-10 16:44:30 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:44:30 +0300 |
commit | 2598ef1d0aee359b4b6d5fdd1758916d5907d04f (patch) | |
tree | 012bb94d777798f1f56ac1cec429509766d05181 /contrib/libs/llvm12/lib/Transforms/ObjCARC/ProvenanceAnalysis.h | |
parent | 6751af0b0c1b952fede40b19b71da8025b5d8bcf (diff) | |
download | ydb-2598ef1d0aee359b4b6d5fdd1758916d5907d04f.tar.gz |
Restoring authorship annotation for <shadchin@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/llvm12/lib/Transforms/ObjCARC/ProvenanceAnalysis.h')
-rw-r--r-- | contrib/libs/llvm12/lib/Transforms/ObjCARC/ProvenanceAnalysis.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/contrib/libs/llvm12/lib/Transforms/ObjCARC/ProvenanceAnalysis.h b/contrib/libs/llvm12/lib/Transforms/ObjCARC/ProvenanceAnalysis.h index a63e356ce1..5c3c99463e 100644 --- a/contrib/libs/llvm12/lib/Transforms/ObjCARC/ProvenanceAnalysis.h +++ b/contrib/libs/llvm12/lib/Transforms/ObjCARC/ProvenanceAnalysis.h @@ -31,7 +31,7 @@ namespace llvm { -class AAResults; +class AAResults; class DataLayout; class PHINode; class SelectInst; @@ -49,7 +49,7 @@ namespace objcarc { /// not two pointers have the same provenance source and thus could /// potentially be related. class ProvenanceAnalysis { - AAResults *AA; + AAResults *AA; using ValuePairTy = std::pair<const Value *, const Value *>; using CachedResultsTy = DenseMap<ValuePairTy, bool>; @@ -58,7 +58,7 @@ class ProvenanceAnalysis { DenseMap<const Value *, WeakTrackingVH> UnderlyingObjCPtrCache; - bool relatedCheck(const Value *A, const Value *B); + bool relatedCheck(const Value *A, const Value *B); bool relatedSelect(const SelectInst *A, const Value *B); bool relatedPHI(const PHINode *A, const Value *B); @@ -67,11 +67,11 @@ public: ProvenanceAnalysis(const ProvenanceAnalysis &) = delete; ProvenanceAnalysis &operator=(const ProvenanceAnalysis &) = delete; - void setAA(AAResults *aa) { AA = aa; } + void setAA(AAResults *aa) { AA = aa; } - AAResults *getAA() const { return AA; } + AAResults *getAA() const { return AA; } - bool related(const Value *A, const Value *B); + bool related(const Value *A, const Value *B); void clear() { CachedResults.clear(); |