summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cppcodestylesettings.cpp
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@theqtcompany.com>2016-03-31 14:31:53 +0200
committerChristian Stenger <christian.stenger@theqtcompany.com>2016-03-31 13:21:54 +0000
commit01504e41b80897869ef5784c83f6852a96ceb829 (patch)
tree1c4153dfe6da2a6870b8e17db0404138d67fc2df /src/plugins/cpptools/cppcodestylesettings.cpp
parent2ce3bf8ed49555d0bc6f69d63173338f80528016 (diff)
downloadqt-creator-01504e41b80897869ef5784c83f6852a96ceb829.tar.gz
AutoTest: Avoid invalid parse results
If the document gets updated while typing we can get different results when fetching the content and using positions inside the content which might have updated milliseconds later. Beside fetching only once ensure valid parse results by adding an additional check for the used visitor. Change-Id: Id1ba4a139a4dc497be0fbb5cf1f81004f3f8676c Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
Diffstat (limited to 'src/plugins/cpptools/cppcodestylesettings.cpp')
0 files changed, 0 insertions, 0 deletions