llvm-project/clang/lib/Format
Daniel Jasper e3c0e0144e Improve clang-format's memoization behavior.
Deeply nested expressions basically break clang-format's memoization.
This patch slightly improves the situations and makes expressions like

  aaaaa(aaaaa(aaaaa(aaaaa(aaaaa(aaaaa(aaaaa(aaaaa(
      aaaaa(aaaaa(aaaaa(aaaaa(aaaaa(aaaaa(aaaaa(aaaaa(aaaaa(aaaaa(aaaaa(
          aaaaa(aaaaa(aaaaa(aaaaa(aaaaa(aaaaa(aaaaa(aaaaa(aaaaa(aaaaa(
              aaaaa(aaaaa(aaaaa(aaaaa(aaaaa(aaaaa(aaaaa(aaaaa(aaaaa(
                  aaaaa(aaaaa())))))))))))))))))))))))))))))))))))))));

work.

llvm-svn: 180264
2013-04-25 13:31:51 +00:00
..
BreakableToken.cpp Unified token breaking logic: support for line comments. 2013-04-17 17:34:05 +00:00
BreakableToken.h Unified token breaking logic: support for line comments. 2013-04-17 17:34:05 +00:00
CMakeLists.txt Unified token breaking logic for strings and block comments. 2013-04-15 14:28:00 +00:00
Format.cpp Improve clang-format's memoization behavior. 2013-04-25 13:31:51 +00:00
Makefile
TokenAnnotator.cpp Improve clang-format's memoization behavior. 2013-04-25 13:31:51 +00:00
TokenAnnotator.h Improve clang-format's memoization behavior. 2013-04-25 13:31:51 +00:00
UnwrappedLineParser.cpp Revamps structural error detection / handling. 2013-04-12 14:13:36 +00:00
UnwrappedLineParser.h Unified token breaking logic: support for line comments. 2013-04-17 17:34:05 +00:00
WhitespaceManager.cpp Add option to align escaped newlines left. 2013-04-25 08:56:26 +00:00
WhitespaceManager.h Add option to align escaped newlines left. 2013-04-25 08:56:26 +00:00