[clang] a10ff37 - Speculatively fix the sphinx build for Clang's attribute reference

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Sat Jan 29 06:39:40 PST 2022


Author: Aaron Ballman
Date: 2022-01-29T09:39:26-05:00
New Revision: a10ff373ddfa82a67c580a87f6258aa6ab8dd595

URL: https://github.com/llvm/llvm-project/commit/a10ff373ddfa82a67c580a87f6258aa6ab8dd595
DIFF: https://github.com/llvm/llvm-project/commit/a10ff373ddfa82a67c580a87f6258aa6ab8dd595.diff

LOG: Speculatively fix the sphinx build for Clang's attribute reference

Added: 
    

Modified: 
    clang/include/clang/Basic/AttrDocs.td

Removed: 
    


################################################################################
diff  --git a/clang/include/clang/Basic/AttrDocs.td b/clang/include/clang/Basic/AttrDocs.td
index 67a69bc9fd59e..efd2af1ab1df3 100644
--- a/clang/include/clang/Basic/AttrDocs.td
+++ b/clang/include/clang/Basic/AttrDocs.td
@@ -432,7 +432,7 @@ implementation detail and not intended to be used by external users.
 
 The syntax of the attribute is as follows:
 
-.. code-block:: c++
+.. code-block:: text
 
   class __attribute__((sycl_special_class)) accessor {};
   class [[clang::sycl_special_class]] accessor {};


        


More information about the cfe-commits mailing list