[clang-tools-extra] r269422 - [find-all-symbols] Add EnumDecl type in YAML traits.

Haojian Wu via cfe-commits cfe-commits at lists.llvm.org
Fri May 13 07:53:11 PDT 2016


Author: hokein
Date: Fri May 13 09:53:10 2016
New Revision: 269422

URL: http://llvm.org/viewvc/llvm-project?rev=269422&view=rev
Log:
[find-all-symbols] Add EnumDecl type in YAML traits.

Modified:
    clang-tools-extra/trunk/include-fixer/find-all-symbols/SymbolInfo.cpp

Modified: clang-tools-extra/trunk/include-fixer/find-all-symbols/SymbolInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/include-fixer/find-all-symbols/SymbolInfo.cpp?rev=269422&r1=269421&r2=269422&view=diff
==============================================================================
--- clang-tools-extra/trunk/include-fixer/find-all-symbols/SymbolInfo.cpp (original)
+++ clang-tools-extra/trunk/include-fixer/find-all-symbols/SymbolInfo.cpp Fri May 13 09:53:10 2016
@@ -40,6 +40,7 @@ template <> struct ScalarEnumerationTrai
   static void enumeration(IO &io, ContextType &value) {
     io.enumCase(value, "Record", ContextType::Record);
     io.enumCase(value, "Namespace", ContextType::Namespace);
+    io.enumCase(value, "EnumDecl", ContextType::EnumDecl);
   }
 };
 




More information about the cfe-commits mailing list