diff options
author | shadchin <shadchin@yandex-team.ru> | 2022-02-10 16:44:39 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:44:39 +0300 |
commit | e9656aae26e0358d5378e5b63dcac5c8dbe0e4d0 (patch) | |
tree | 64175d5cadab313b3e7039ebaa06c5bc3295e274 /contrib/libs/llvm12/include/llvm/Analysis/CaptureTracking.h | |
parent | 2598ef1d0aee359b4b6d5fdd1758916d5907d04f (diff) | |
download | ydb-e9656aae26e0358d5378e5b63dcac5c8dbe0e4d0.tar.gz |
Restoring authorship annotation for <shadchin@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/llvm12/include/llvm/Analysis/CaptureTracking.h')
-rw-r--r-- | contrib/libs/llvm12/include/llvm/Analysis/CaptureTracking.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/contrib/libs/llvm12/include/llvm/Analysis/CaptureTracking.h b/contrib/libs/llvm12/include/llvm/Analysis/CaptureTracking.h index 3fa0c98703..ed752e0e53 100644 --- a/contrib/libs/llvm12/include/llvm/Analysis/CaptureTracking.h +++ b/contrib/libs/llvm12/include/llvm/Analysis/CaptureTracking.h @@ -20,8 +20,8 @@ #ifndef LLVM_ANALYSIS_CAPTURETRACKING_H #define LLVM_ANALYSIS_CAPTURETRACKING_H -#include "llvm/ADT/DenseMap.h" - +#include "llvm/ADT/DenseMap.h" + namespace llvm { class Value; @@ -103,12 +103,12 @@ namespace llvm { /// is zero, a default value is assumed. void PointerMayBeCaptured(const Value *V, CaptureTracker *Tracker, unsigned MaxUsesToExplore = 0); - - /// Returns true if the pointer is to a function-local object that never - /// escapes from the function. - bool isNonEscapingLocalObject( - const Value *V, - SmallDenseMap<const Value *, bool, 8> *IsCapturedCache = nullptr); + + /// Returns true if the pointer is to a function-local object that never + /// escapes from the function. + bool isNonEscapingLocalObject( + const Value *V, + SmallDenseMap<const Value *, bool, 8> *IsCapturedCache = nullptr); } // end namespace llvm #endif |