Home | History | Annotate | Download | only in Frontend
      1 //===-- FrontendAction.h - Pluggable Frontend Action Interface --*- C++ -*-===//
      2 //
      3 //                     The LLVM Compiler Infrastructure
      4 //
      5 // This file is distributed under the University of Illinois Open Source
      6 // License. See LICENSE.TXT for details.
      7 //
      8 //===----------------------------------------------------------------------===//
      9 
     10 #ifndef LLVM_CLANG_FRONTEND_FRONTENDPLUGINREGISTRY_H
     11 #define LLVM_CLANG_FRONTEND_FRONTENDPLUGINREGISTRY_H
     12 
     13 #include "clang/Frontend/FrontendAction.h"
     14 #include "llvm/Support/Registry.h"
     15 
     16 // Instantiated in FrontendAction.cpp.
     17 extern template class llvm::Registry<clang::PluginASTAction>;
     18 
     19 namespace clang {
     20 
     21 /// The frontend plugin registry.
     22 typedef llvm::Registry<PluginASTAction> FrontendPluginRegistry;
     23 
     24 } // end namespace clang
     25 
     26 #endif
     27