summaryrefslogtreecommitdiffstats
path: root/llvm
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
commitcc1328c160e8de44e6bf2d7f272d2ef9b3f1034c (patch)
tree3659f9849c0bf70d4002081c5e25fc55353f742b /llvm
parent10a5431239a65f66b49e11157658784336a82ced (diff)
downloadbcm5719-llvm-cc1328c160e8de44e6bf2d7f272d2ef9b3f1034c.tar.gz
bcm5719-llvm-cc1328c160e8de44e6bf2d7f272d2ef9b3f1034c.zip
[XRay] Fix typo in docs. NFC
Reviewers: dberris Differential Revision: https://reviews.llvm.org/D40461 llvm-svn: 319047
Diffstat (limited to 'llvm')
-rw-r--r--llvm/docs/XRay.rst4
-rw-r--r--llvm/docs/XRayExample.rst4
2 files changed, 4 insertions, 4 deletions
diff --git a/llvm/docs/XRay.rst b/llvm/docs/XRay.rst
index 9e08c358803..e9ecc13e3b2 100644
--- a/llvm/docs/XRay.rst
+++ b/llvm/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/llvm/docs/XRayExample.rst b/llvm/docs/XRayExample.rst
index 718b302a503..56f17507d82 100644
--- a/llvm/docs/XRayExample.rst
+++ b/llvm/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 << '-';
}
OpenPOWER on IntegriCloud