summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/copypaste/lambda.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2017-03-03 17:39:24 +0000
committerZachary Turner <zturner@google.com>2017-03-03 17:39:24 +0000
commit91db01fa6ce5d93073fb9d19f8ee877e959e5096 (patch)
tree01b309ec4671fd4839b7bc6d3f5ff0021ecffb06 /clang/test/Analysis/copypaste/lambda.cpp
parentbdfcc716b969228e118834871d28aed0f8d5e776 (diff)
downloadbcm5719-llvm-91db01fa6ce5d93073fb9d19f8ee877e959e5096.tar.gz
bcm5719-llvm-91db01fa6ce5d93073fb9d19f8ee877e959e5096.zip
Don't bring in llvm/Support/thread.h in Threading.cpp
Doing so defines the type llvm::thread. On FreeBSD, we need to call a macro which references its own ::thread type, which causes an ambiguity due to ADL when inside of the llvm namespace. Since we don't even need this unless LLVM_ENABLE_THREADS == 1, we don't even need this type anyway, as it is always equal to std::thread, so we can just use that directly. llvm-svn: 296891
Diffstat (limited to 'clang/test/Analysis/copypaste/lambda.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud