[PATCH] D59090: Fix LIT %clang_cpp description

Jan Kratochvil via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 7 03:56:54 PST 2019


jankratochvil created this revision.
jankratochvil added a project: LLVM.
Herald added a subscriber: jdoerfert.

I coded some test based on LIT documentation <https://llvm.org/docs/TestingGuide.html> and it did not work.
Only the `%clang_cpp` description was wrong. But additionally I made also the other descriptions a bit less ambiguous.
OK for check-in or are there some wording adjustments?


Repository:
  rL LLVM

https://reviews.llvm.org/D59090

Files:
  llvm/docs/TestingGuide.rst


Index: llvm/docs/TestingGuide.rst
===================================================================
--- llvm/docs/TestingGuide.rst
+++ llvm/docs/TestingGuide.rst
@@ -528,16 +528,16 @@
 **Clang-specific substitutions:**
 
 ``%clang``
-   Invokes the Clang driver.
+   Invokes the Clang driver for plain C.
 
 ``%clang_cpp``
-   Invokes the Clang driver for C++.
+   Invokes the Clang driver as a C/C++ preprocessor.
 
 ``%clang_cl``
    Invokes the CL-compatible Clang driver.
 
 ``%clangxx``
-   Invokes the G++-compatible Clang driver.
+   Invokes the G++-compatible Clang driver for C++.
 
 ``%clang_cc1``
    Invokes the Clang frontend.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59090.189688.patch
Type: text/x-patch
Size: 642 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190307/14c94bd8/attachment.bin>


More information about the llvm-commits mailing list