summaryrefslogtreecommitdiff
path: root/t/t4018/cpp-c++-function
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2014-03-31 16:30:54 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-03-31 16:30:54 -0700
commitc228a5c077d564d84e52fb1aabf3d623230c894d (patch)
tree50694b2bc9e5eb48c34bb747dc3ed7fbe6a1c600 /t/t4018/cpp-c++-function
parentMerge branch 'dw/doc-status-no-longer-shows-pound-prefix' (diff)
parentuserdiff: have 'cpp' hunk header pattern catch more C++ anchor points (diff)
downloadtgif-c228a5c077d564d84e52fb1aabf3d623230c894d.tar.xz
Merge branch 'js/userdiff-cc'
Improves the pattern to match the hunk-header for C/C++. * js/userdiff-cc: userdiff: have 'cpp' hunk header pattern catch more C++ anchor points t4018: test cases showing that the cpp pattern misses many anchor points t4018: test cases for the built-in cpp pattern t4018: reduce test files for pattern compilation tests t4018: convert custom pattern test to the new infrastructure t4018: convert java pattern test to the new infrastructure t4018: convert perl pattern tests to the new infrastructure t4018: an infrastructure to test hunk headers userdiff: support unsigned and long long suffixes of integer constants userdiff: support C++ ->* and .* operators in the word regexp
Diffstat (limited to 't/t4018/cpp-c++-function')
-rw-r--r--t/t4018/cpp-c++-function4
1 files changed, 4 insertions, 0 deletions
diff --git a/t/t4018/cpp-c++-function b/t/t4018/cpp-c++-function
new file mode 100644
index 0000000000..9ee6bbef55
--- /dev/null
+++ b/t/t4018/cpp-c++-function
@@ -0,0 +1,4 @@
+Item RIGHT::DoSomething( Args with_spaces )
+{
+ ChangeMe;
+}