Hello,
Since a few days, the LLVM toolchain package fails to build with this error:
/tmp/buildd/llvm-toolchain-snapshot-3.4~svn192427/tools/clang/lib/Basic/Targets.cpp:3615:15: error: 'static bool {anonymous}::ARMTargetInfo::shouldUseInlineAtomic(const llvm::Triple&)' cannot be overloaded
static bool shouldUseInlineAtomic(const llvm::Triple &T) {
^
/tmp/buildd/llvm-toolchain-snapshot-3.4~svn192427/tools/clang/lib/Basic/Targets.cpp:3585:15: error: with 'static bool {anonymous}::ARMTargetInfo::shouldUseInlineAtomic(const llvm::Triple&)'
static bool shouldUseInlineAtomic(const llvm::Triple &T) {
^
Here is indeed a duplicated declaration.
The attached patch fixes the issue for me.
Is it ok applying in the source tree ?
Thanks,
Sylvestre
removeduplicatedeclaration.diff (1.55 KB)