"Fossies" - the Fresh Open Source Software Archive

Member "cfe-9.0.0.src/include/clang/StaticAnalyzer/Core/PathDiagnosticConsumers.h" (19 Jan 2019, 1232 Bytes) of package /linux/misc/cfe-9.0.0.src.tar.xz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "PathDiagnosticConsumers.h": 8.0.1_vs_9.0.0.

    1 //===--- PathDiagnosticConsumers.h - Path Diagnostic Clients ------*- C++ -*-===//
    2 //
    3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
    4 // See https://llvm.org/LICENSE.txt for license information.
    5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
    6 //
    7 //===----------------------------------------------------------------------===//
    8 //
    9 //  This file defines the interface to create different path diagostic clients.
   10 //
   11 //===----------------------------------------------------------------------===//
   12 
   13 #ifndef LLVM_CLANG_STATICANALYZER_CORE_PATHDIAGNOSTICCONSUMERS_H
   14 #define LLVM_CLANG_STATICANALYZER_CORE_PATHDIAGNOSTICCONSUMERS_H
   15 
   16 #include <string>
   17 #include <vector>
   18 
   19 namespace clang {
   20 
   21 class AnalyzerOptions;
   22 class Preprocessor;
   23 
   24 namespace ento {
   25 
   26 class PathDiagnosticConsumer;
   27 typedef std::vector<PathDiagnosticConsumer*> PathDiagnosticConsumers;
   28 
   29 #define ANALYSIS_DIAGNOSTICS(NAME, CMDFLAG, DESC, CREATEFN)\
   30 void CREATEFN(AnalyzerOptions &AnalyzerOpts,\
   31               PathDiagnosticConsumers &C,\
   32               const std::string &Prefix,\
   33               const Preprocessor &PP);
   34 #include "clang/StaticAnalyzer/Core/Analyses.def"
   35 
   36 } // end 'ento' namespace
   37 } // end 'clang' namespace
   38 
   39 #endif