[docs] Replace non-existent LLVM_YAML_UNIQUE_TYPE() macro
authorSean Silva <silvas@purdue.edu>
Tue, 4 Jun 2013 23:36:41 +0000 (23:36 +0000)
committerSean 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

index ded17288af62943312caa827f1dfb644760ad684..a5cb637dd7eb5c2a48d78e28f21b7efd22d4a4e1 100644 (file)
@@ -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.