diff options
author | Torok Edwin <edwintorok@gmail.com> | 2009-11-19 15:39:50 +0000 |
---|---|---|
committer | Torok Edwin <edwintorok@gmail.com> | 2009-11-19 15:39:50 +0000 |
commit | 2fe05d80d396b6ca0bdc66ec17732b8c514d575e (patch) | |
tree | 046a4741adde5c8b8a79a98bdda188d4dabb63b5 /tools/llvmc/example/Hello/Hello.cpp | |
parent | ac07b3df3e1580b9689d59778cea95afbe75cf65 (diff) |
Workaround PR5482, because all the gcc versions that I had were miscompiling StringRef:
4.2.4, 4.3.4, 4.4.2.
The workaround is to use a local min/max implementation that takes an integer
param, and not a reference to integer param (like std::min does).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89352 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvmc/example/Hello/Hello.cpp')
0 files changed, 0 insertions, 0 deletions