Skip to content
Snippets Groups Projects
Commit 9186def5 authored by Daniel Jasper's avatar Daniel Jasper
Browse files

clang-format: Increase cut-off limit for number of analyzed states.

With more complex structures in C++ Lambdas and JavaScript function
literals, the old value was simply to small. However, this is a
temporary solution, I need to look at this more closely a) to find a
fundamentally better approach and b) to look at whether the more recent
usage of NoLineBreak makes us visit stuff in an unfortunate order
where clang-format waste many states in dead ends.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@251463 91177308-0d34-0410-b5e6-96231b3b80d8
parent 0c683331
No related branches found
No related tags found
No related merge requests found
...@@ -709,7 +709,7 @@ private: ...@@ -709,7 +709,7 @@ private:
// Cut off the analysis of certain solutions if the analysis gets too // Cut off the analysis of certain solutions if the analysis gets too
// complex. See description of IgnoreStackForComparison. // complex. See description of IgnoreStackForComparison.
if (Count > 10000) if (Count > 50000)
Node->State.IgnoreStackForComparison = true; Node->State.IgnoreStackForComparison = true;
if (!Seen.insert(&Node->State).second) if (!Seen.insert(&Node->State).second)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment