summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2017-11-27 16:59:26 +0000
committerFangrui Song <maskray@google.com>2017-11-27 16:59:26 +0000
commitc66b9564b9348a365f0a98867c275915cec26528 (patch)
tree999d08c30da4dd374c01356ae43349637c919685 /docs
parentc17b6156036f110d218fe3609803a40178698d76 (diff)
[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
Diffstat (limited to 'docs')
-rw-r--r--docs/XRay.rst4
-rw-r--r--docs/XRayExample.rst4
2 files changed, 4 insertions, 4 deletions
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 <iostream>
#include <thread>
- [[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 << '-';
}