From: Fangrui Song Date: Mon, 27 Nov 2017 16:59:26 +0000 (+0000) Subject: [XRay] Fix typo in docs. NFC X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c66b9564b9348a365f0a98867c275915cec26528;p=llvm [XRay] Fix typo in docs. NFC Reviewers: dberris Differential Revision: https://reviews.llvm.org/D40461 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@319047 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/XRay.rst b/docs/XRay.rst index 9e08c358803..e9ecc13e3b2 100644 --- a/docs/XRay.rst +++ b/docs/XRay.rst @@ -75,11 +75,11 @@ GCC-style attributes or C++11-style attributes. .. code-block:: c++ - [[clang::xray_always_intrument]] void always_instrumented(); + [[clang::xray_always_instrument]] void always_instrumented(); [[clang::xray_never_instrument]] void never_instrumented(); - void alt_always_instrumented() __attribute__((xray_always_intrument)); + void alt_always_instrumented() __attribute__((xray_always_instrument)); void alt_never_instrumented() __attribute__((xray_never_instrument)); diff --git a/docs/XRayExample.rst b/docs/XRayExample.rst index 718b302a503..56f17507d82 100644 --- a/docs/XRayExample.rst +++ b/docs/XRayExample.rst @@ -275,11 +275,11 @@ application. #include #include - [[clang::xray_always_intrument]] void f() { + [[clang::xray_always_instrument]] void f() { std::cerr << '.'; } - [[clang::xray_always_intrument]] void g() { + [[clang::xray_always_instrument]] void g() { for (int i = 0; i < 1 << 10; ++i) { std::cerr << '-'; }