clang  9.0.0svn
TaintTag.h
Go to the documentation of this file.
1 //===- TaintTag.h - Path-sensitive "State" for tracking values --*- 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 // Defines a set of taint tags. Several tags are used to differentiate kinds
10 // of taint.
11 //
12 //===----------------------------------------------------------------------===//
13 
14 #ifndef LLVM_CLANG_STATICANALYZER_CORE_PATHSENSITIVE_TAINTTAG_H
15 #define LLVM_CLANG_STATICANALYZER_CORE_PATHSENSITIVE_TAINTTAG_H
16 
17 namespace clang {
18 namespace ento {
19 
20 /// The type of taint, which helps to differentiate between different types of
21 /// taint.
22 using TaintTagType = unsigned;
23 
24 static const TaintTagType TaintTagGeneric = 0;
25 
26 } // namespace ento
27 } // namespace clang
28 
29 #endif // LLVM_CLANG_STATICANALYZER_CORE_PATHSENSITIVE_TAINTTAG_H
static const TaintTagType TaintTagGeneric
Definition: TaintTag.h:24
Dataflow Directional Tag Classes.
unsigned TaintTagType
The type of taint, which helps to differentiate between different types of taint. ...
Definition: TaintTag.h:22