[XRay] Fix typo in docs. NFC
Reviewers: dberris
Differential Revision: https://reviews.llvm.org/D40461
llvm-svn: 319047
diff --git a/llvm/docs/XRay.rst b/llvm/docs/XRay.rst
index 9e08c35..e9ecc13 100644
--- a/llvm/docs/XRay.rst
+++ b/llvm/docs/XRay.rst
@@ -75,11 +75,11 @@
.. 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/llvm/docs/XRayExample.rst b/llvm/docs/XRayExample.rst
index 718b302..56f1750 100644
--- a/llvm/docs/XRayExample.rst
+++ b/llvm/docs/XRayExample.rst
@@ -275,11 +275,11 @@
#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 << '-';
}