[llvm] r276419 - Use INT64_MAX instead of LLONG_MAX
Reid Kleckner via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 22 07:11:58 PDT 2016
Author: rnk
Date: Fri Jul 22 09:11:58 2016
New Revision: 276419
URL: http://llvm.org/viewvc/llvm-project?rev=276419&view=rev
Log:
Use INT64_MAX instead of LLONG_MAX
Modified:
llvm/trunk/lib/Analysis/CFLGraph.h
Modified: llvm/trunk/lib/Analysis/CFLGraph.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/CFLGraph.h?rev=276419&r1=276418&r2=276419&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/CFLGraph.h (original)
+++ llvm/trunk/lib/Analysis/CFLGraph.h Fri Jul 22 09:11:58 2016
@@ -27,7 +27,7 @@ namespace cflaa {
// We use UnknownOffset to represent pointer offsets that cannot be determined
// at compile time. Note that MemoryLocation::UnknownSize cannot be used here
// because we require a signed value.
-enum : int64_t { UnknownOffset = LLONG_MAX };
+enum : int64_t { UnknownOffset = INT64_MAX };
inline int64_t addOffset(int64_t LHS, int64_t RHS) {
if (LHS == UnknownOffset || RHS == UnknownOffset)
More information about the llvm-commits
mailing list