forked from include-what-you-use/include-what-you-use
-
Notifications
You must be signed in to change notification settings - Fork 4
/
iwyu_use_flags.h
24 lines (19 loc) · 859 Bytes
/
iwyu_use_flags.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
//===--- iwyu_use_flags.h - describe various contextual features of uses --===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#ifndef INCLUDE_WHAT_YOU_USE_IWYU_USE_FLAGS_H_
#define INCLUDE_WHAT_YOU_USE_IWYU_USE_FLAGS_H_
namespace include_what_you_use {
// Flags describing special features of a use that influence IWYU analysis.
typedef unsigned UseFlags;
const UseFlags UF_None = 0;
const UseFlags UF_InCxxMethodBody = 1; // use is inside a C++ method body
const UseFlags UF_FunctionDfn = 2; // use is a function being defined
const UseFlags UF_ExplicitInstantiation = 4; // use targets an explicit instantiation
}
#endif