summaryrefslogtreecommitdiffstats
path: root/clang/include/clang/StaticAnalyzer/Core/PathSensitive/TaintTag.h
blob: d1018f9d1c088286196bdee309bbaa9d3990c5e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
//===- TaintTag.h - Path-sensitive "State" for tracking values --*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
//
// Defines a set of taint tags. Several tags are used to differentiate kinds
// of taint.
//
//===----------------------------------------------------------------------===//

#ifndef LLVM_CLANG_STATICANALYZER_CORE_PATHSENSITIVE_TAINTTAG_H
#define LLVM_CLANG_STATICANALYZER_CORE_PATHSENSITIVE_TAINTTAG_H

namespace clang {
namespace ento {

/// The type of taint, which helps to differentiate between different types of
/// taint.
using TaintTagType = unsigned;

static const TaintTagType TaintTagGeneric = 0;

} // namespace ento
} // namespace clang

#endif // LLVM_CLANG_STATICANALYZER_CORE_PATHSENSITIVE_TAINTTAG_H
OpenPOWER on IntegriCloud