[llvm] r273587 - [SCEV] Don't unnecessarily namespace; NFC
Sanjoy Das via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 23 11:03:33 PDT 2016
Author: sanjoy
Date: Thu Jun 23 13:03:32 2016
New Revision: 273587
URL: http://llvm.org/viewvc/llvm-project?rev=273587&view=rev
Log:
[SCEV] Don't unnecessarily namespace; NFC
Modified:
llvm/trunk/include/llvm/Analysis/ScalarEvolutionExpressions.h
Modified: llvm/trunk/include/llvm/Analysis/ScalarEvolutionExpressions.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/ScalarEvolutionExpressions.h?rev=273587&r1=273586&r2=273587&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Analysis/ScalarEvolutionExpressions.h (original)
+++ llvm/trunk/include/llvm/Analysis/ScalarEvolutionExpressions.h Thu Jun 23 13:03:32 2016
@@ -155,15 +155,15 @@ namespace llvm {
}
bool hasNoUnsignedWrap() const {
- return getNoWrapFlags(SCEV::FlagNUW) != SCEV::FlagAnyWrap;
+ return getNoWrapFlags(FlagNUW) != FlagAnyWrap;
}
bool hasNoSignedWrap() const {
- return getNoWrapFlags(SCEV::FlagNSW) != SCEV::FlagAnyWrap;
+ return getNoWrapFlags(FlagNSW) != FlagAnyWrap;
}
bool hasNoSelfWrap() const {
- return getNoWrapFlags(SCEV::FlagNW) != SCEV::FlagAnyWrap;
+ return getNoWrapFlags(FlagNW) != FlagAnyWrap;
}
/// Methods for support type inquiry through isa, cast, and dyn_cast:
More information about the llvm-commits
mailing list