Skip to content
This repository was archived by the owner on Mar 28, 2020. It is now read-only.

Commit 96b82be

Browse files
author
Johannes Doerfert
committed
[Attributor][NFC] clang format
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@374281 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 794c434 commit 96b82be

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

include/llvm/Transforms/IPO/Attributor.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -899,13 +899,12 @@ struct Attributor {
899899
const DataLayout &getDataLayout() const { return InfoCache.DL; }
900900

901901
private:
902-
903902
/// The private version of getAAFor that allows to omit a querying abstract
904903
/// attribute. See also the public getAAFor method.
905904
template <typename AAType>
906905
const AAType &getOrCreateAAFor(const IRPosition &IRP,
907-
const AbstractAttribute *QueryingAA = nullptr,
908-
bool TrackDependence = false) {
906+
const AbstractAttribute *QueryingAA = nullptr,
907+
bool TrackDependence = false) {
909908
if (const AAType *AAPtr =
910909
lookupAAFor<AAType>(IRP, QueryingAA, TrackDependence))
911910
return *AAPtr;
@@ -1417,7 +1416,8 @@ struct AAReturnedValues
14171416
const function_ref<bool(Value &, const SmallSetVector<ReturnInst *, 4> &)>
14181417
&Pred) const = 0;
14191418

1420-
using iterator = MapVector<Value *, SmallSetVector<ReturnInst *, 4>>::iterator;
1419+
using iterator =
1420+
MapVector<Value *, SmallSetVector<ReturnInst *, 4>>::iterator;
14211421
using const_iterator =
14221422
MapVector<Value *, SmallSetVector<ReturnInst *, 4>>::const_iterator;
14231423
virtual llvm::iterator_range<iterator> returned_values() = 0;

lib/Transforms/IPO/Attributor.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,8 @@ static cl::opt<unsigned> DepRecInterval(
139139
static cl::opt<bool> EnableHeapToStack("enable-heap-to-stack-conversion",
140140
cl::init(true), cl::Hidden);
141141

142-
static cl::opt<int> MaxHeapToStackSize("max-heap-to-stack-size",
143-
cl::init(128), cl::Hidden);
142+
static cl::opt<int> MaxHeapToStackSize("max-heap-to-stack-size", cl::init(128),
143+
cl::Hidden);
144144

145145
/// Logic operators for the change status enum class.
146146
///

0 commit comments

Comments
 (0)