projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbbdba8
)
[docs] Replace non-existent LLVM_YAML_UNIQUE_TYPE() macro
author
Sean Silva
<silvas@purdue.edu>
Tue, 4 Jun 2013 23:36:41 +0000
(23:36 +0000)
committer
Sean Silva
<silvas@purdue.edu>
Tue, 4 Jun 2013 23:36:41 +0000
(23:36 +0000)
LLVM_YAML_STRONG_TYPEDEF() is the correct macro to perform this function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183280
91177308
-0d34-0410-b5e6-
96231b3b80d8
docs/YamlIO.rst
patch
|
blob
|
history
diff --git
a/docs/YamlIO.rst
b/docs/YamlIO.rst
index ded17288af62943312caa827f1dfb644760ad684..a5cb637dd7eb5c2a48d78e28f21b7efd22d4a4e1 100644
(file)
--- a/
docs/YamlIO.rst
+++ b/
docs/YamlIO.rst
@@
-353,7
+353,7
@@
had the following bit flags defined:
flagsRound = 8
};
- LLVM_YAML_
UNIQUE_TYPE(MyFlags, uint32_t
)
+ LLVM_YAML_
STRONG_TYPEDEF(uint32_t, MyFlags
)
To support reading and writing of MyFlags, you specialize ScalarBitSetTraits<>
on MyFlags and provide the bit values and their names.