http://llvm.org/bugs/show_bug.cgi?id=17698
Bug ID: 17698
Summary: Clang is very slow when computing certain diagnostics
Product: clang
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Frontend
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
This test case:
#include "boost/asio.hpp"
double mainf();
int mainf() {
foo(sdafo_2, 0);
return 0;
}
takes this time to compile:
Time (seconds) Command
6.8 clang -c -std=c++11 test.cpp
4.8 clang -c test.cpp
(after replacing `sdafo_2' with `x')
1.0 clang -c test.cpp
(after replacing `sdafo_2' with `o_2')
2.8 clang -c test.cpp
Note how Clang needs a long time to compute the diagnostic about `sdafo_2'
after reporting the diagnostic about the illegal overload of `mainf'.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs