[polly] r261788 - Use inline variable declaration. NFC.
Michael Kruse via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 24 14:08:08 PST 2016
Author: meinersbur
Date: Wed Feb 24 16:08:08 2016
New Revision: 261788
URL: http://llvm.org/viewvc/llvm-project?rev=261788&view=rev
Log:
Use inline variable declaration. NFC.
Modified:
polly/trunk/lib/Analysis/ScopInfo.cpp
Modified: polly/trunk/lib/Analysis/ScopInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Analysis/ScopInfo.cpp?rev=261788&r1=261787&r2=261788&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/ScopInfo.cpp (original)
+++ polly/trunk/lib/Analysis/ScopInfo.cpp Wed Feb 24 16:08:08 2016
@@ -1279,9 +1279,7 @@ buildConditionSets(Scop &S, TerminatorIn
}
void ScopStmt::buildDomain() {
- isl_id *Id;
-
- Id = isl_id_alloc(getIslCtx(), getBaseName(), this);
+ isl_id *Id = isl_id_alloc(getIslCtx(), getBaseName(), this);
Domain = getParent()->getDomainConditions(this);
Domain = isl_set_set_tuple_id(Domain, Id);
More information about the llvm-commits
mailing list