[llvm] r374281 - [Attributor][NFC] clang format
Johannes Doerfert via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 9 22:34:21 PDT 2019
Author: jdoerfert
Date: Wed Oct 9 22:34:21 2019
New Revision: 374281
URL: http://llvm.org/viewvc/llvm-project?rev=374281&view=rev
Log:
[Attributor][NFC] clang format
Modified:
llvm/trunk/include/llvm/Transforms/IPO/Attributor.h
llvm/trunk/lib/Transforms/IPO/Attributor.cpp
Modified: llvm/trunk/include/llvm/Transforms/IPO/Attributor.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Transforms/IPO/Attributor.h?rev=374281&r1=374280&r2=374281&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Transforms/IPO/Attributor.h (original)
+++ llvm/trunk/include/llvm/Transforms/IPO/Attributor.h Wed Oct 9 22:34:21 2019
@@ -899,13 +899,12 @@ struct Attributor {
const DataLayout &getDataLayout() const { return InfoCache.DL; }
private:
-
/// The private version of getAAFor that allows to omit a querying abstract
/// attribute. See also the public getAAFor method.
template <typename AAType>
const AAType &getOrCreateAAFor(const IRPosition &IRP,
- const AbstractAttribute *QueryingAA = nullptr,
- bool TrackDependence = false) {
+ const AbstractAttribute *QueryingAA = nullptr,
+ bool TrackDependence = false) {
if (const AAType *AAPtr =
lookupAAFor<AAType>(IRP, QueryingAA, TrackDependence))
return *AAPtr;
@@ -1417,7 +1416,8 @@ struct AAReturnedValues
const function_ref<bool(Value &, const SmallSetVector<ReturnInst *, 4> &)>
&Pred) const = 0;
- using iterator = MapVector<Value *, SmallSetVector<ReturnInst *, 4>>::iterator;
+ using iterator =
+ MapVector<Value *, SmallSetVector<ReturnInst *, 4>>::iterator;
using const_iterator =
MapVector<Value *, SmallSetVector<ReturnInst *, 4>>::const_iterator;
virtual llvm::iterator_range<iterator> returned_values() = 0;
Modified: llvm/trunk/lib/Transforms/IPO/Attributor.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/IPO/Attributor.cpp?rev=374281&r1=374280&r2=374281&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/IPO/Attributor.cpp (original)
+++ llvm/trunk/lib/Transforms/IPO/Attributor.cpp Wed Oct 9 22:34:21 2019
@@ -139,8 +139,8 @@ static cl::opt<unsigned> DepRecInterval(
static cl::opt<bool> EnableHeapToStack("enable-heap-to-stack-conversion",
cl::init(true), cl::Hidden);
-static cl::opt<int> MaxHeapToStackSize("max-heap-to-stack-size",
- cl::init(128), cl::Hidden);
+static cl::opt<int> MaxHeapToStackSize("max-heap-to-stack-size", cl::init(128),
+ cl::Hidden);
/// Logic operators for the change status enum class.
///
More information about the llvm-commits
mailing list