aboutsummaryrefslogtreecommitdiff
path: root/clang
diff options
context:
space:
mode:
authorYuka Takahashi <yukatkh@gmail.com>2017-08-02 07:20:27 +0000
committerYuka Takahashi <yukatkh@gmail.com>2017-08-02 07:20:27 +0000
commit7b370e46e71e3a0154a3ad339e659f9ccc40d3f4 (patch)
tree8b0cbccd3380968731dac33d2efb967374fb31cc /clang
parent35427e64312136dcb6c4d1fe2ed0f5ae29c2b35c (diff)
downloadllvm-7b370e46e71e3a0154a3ad339e659f9ccc40d3f4.zip
llvm-7b370e46e71e3a0154a3ad339e659f9ccc40d3f4.tar.gz
llvm-7b370e46e71e3a0154a3ad339e659f9ccc40d3f4.tar.bz2
[Bash-autocompletion] Add comment to test so that it is easier to fix
Summary: clang/test/Driver/autocomplete.c is a test for --autocomplete, and this test might break if people add/modify flags or HelpText. So I've add comment for future developers so that they can fix this file according to the change they had made. Reviewers: v.g.vassilev, teemperor, ruiu Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D36209 llvm-svn: 309794
Diffstat (limited to 'clang')
-rw-r--r--clang/test/Driver/autocomplete.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/Driver/autocomplete.c b/clang/test/Driver/autocomplete.c
index c4d80f2..5680801 100644
--- a/clang/test/Driver/autocomplete.c
+++ b/clang/test/Driver/autocomplete.c
@@ -1,3 +1,7 @@
+// Test for the --autocompletion flag, which is an API used for shell
+// autocompletion. You may have to update tests in this file when you
+// add/modify flags, change HelpTexts or the values of some flags.
+
// RUN: %clang --autocomplete=-fsyn | FileCheck %s -check-prefix=FSYN
// FSYN: -fsyntax-only
// RUN: %clang --autocomplete=-std= | FileCheck %s -check-prefix=STD