aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/CloneModule.cpp
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2008-10-08 07:44:52 +0000
committerDuncan Sands <baldrick@free.fr>2008-10-08 07:44:52 +0000
commit32052e8272cb9f2f35eb87560ebecbc8ebe5cab3 (patch)
tree5e4fe441f347d8993f1d24dfffdf3bc99d44bd25 /llvm/lib/Transforms/Utils/CloneModule.cpp
parent26ff6f9c5414cd5e1d6693bb481e0c45d648bde4 (diff)
downloadllvm-32052e8272cb9f2f35eb87560ebecbc8ebe5cab3.zip
llvm-32052e8272cb9f2f35eb87560ebecbc8ebe5cab3.tar.gz
llvm-32052e8272cb9f2f35eb87560ebecbc8ebe5cab3.tar.bz2
Use template to distinguish between function variants.
GCC 4.4.0 gives an error on the "int" declaration for example saying that it has already been declared (using the "short" one). Using templates here allow the compiler to distinguish between the function to choose. Also, "llvm/Support/DataTypes.h" was not included, leading to error messages about not knowing "uint32_t" for example. Patch by Samuel Tardieu. llvm-svn: 57292
Diffstat (limited to 'llvm/lib/Transforms/Utils/CloneModule.cpp')
0 files changed, 0 insertions, 0 deletions