aboutsummaryrefslogtreecommitdiff
path: root/tools/llvmc/example/Hello/Hello.cpp
diff options
context:
space:
mode:
authorTorok Edwin <edwintorok@gmail.com>2009-11-19 15:39:50 +0000
committerTorok Edwin <edwintorok@gmail.com>2009-11-19 15:39:50 +0000
commit2fe05d80d396b6ca0bdc66ec17732b8c514d575e (patch)
tree046a4741adde5c8b8a79a98bdda188d4dabb63b5 /tools/llvmc/example/Hello/Hello.cpp
parentac07b3df3e1580b9689d59778cea95afbe75cf65 (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