summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/CFLGraph.h
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2016-07-22 14:11:58 +0000
committerReid Kleckner <rnk@google.com>2016-07-22 14:11:58 +0000
commitdb10b5009d8c192168b3acdaa5b3ed9382809aad (patch)
tree01eb32346126288ce9ee2e4ab367fc50137f019b /llvm/lib/Analysis/CFLGraph.h
parent2d8517303cb727011b27ebf099de7165662df159 (diff)
downloadbcm5719-llvm-db10b5009d8c192168b3acdaa5b3ed9382809aad.tar.gz
bcm5719-llvm-db10b5009d8c192168b3acdaa5b3ed9382809aad.zip
Use INT64_MAX instead of LLONG_MAX
llvm-svn: 276419
Diffstat (limited to 'llvm/lib/Analysis/CFLGraph.h')
-rw-r--r--llvm/lib/Analysis/CFLGraph.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/CFLGraph.h b/llvm/lib/Analysis/CFLGraph.h
index b6160cfe63f..7da5571c95c 100644
--- a/llvm/lib/Analysis/CFLGraph.h
+++ b/llvm/lib/Analysis/CFLGraph.h
@@ -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)
OpenPOWER on IntegriCloud