OSDN Git Service

Use C++ casts to avoid a warning
authorSanjoy Das <sanjoy@playingwithpointers.com>
Fri, 27 May 2016 23:04:28 +0000 (23:04 +0000)
committerSanjoy Das <sanjoy@playingwithpointers.com>
Fri, 27 May 2016 23:04:28 +0000 (23:04 +0000)
commit051a0b56463c1f0680ba9006024f77848e04d38e
tree9ea3c714cb931a5cc0c28cd92483eaf190833c19
parentc465f6c0403034c3715e329ee168d6e24a987952
Use C++ casts to avoid a warning

warning: cast from type ‘const void*’ to type
‘llvm::PrettyStackTraceEntry*’ casts away qualifiers [-Wcast-qual]
   PrettyStackTraceHead = (PrettyStackTraceEntry*)Top;

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@271069 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/PrettyStackTrace.cpp