mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
[XRay] Fix typo in docs. NFC
Reviewers: dberris Differential Revision: https://reviews.llvm.org/D40461 llvm-svn: 319047
This commit is contained in:
parent
b9845a9a23
commit
201697d9a6
@ -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));
|
||||
|
||||
|
@ -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 << '-';
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user