clang
20.0.0git
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Related Functions
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
y
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
o
p
q
r
s
t
u
v
w
Enumerations
_
a
b
c
f
g
i
l
m
n
o
p
r
s
t
v
Enumerator
_
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Examples
include
clang
Basic
CFProtectionOptions.h
Go to the documentation of this file.
1
//===--- CFProtectionOptions.h ----------------------------------*- 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 constants for -fcf-protection and other related flags.
10
//
11
//===----------------------------------------------------------------------===//
12
13
#ifndef LLVM_CLANG_BASIC_CFPROTECTIONOPTIONS_H
14
#define LLVM_CLANG_BASIC_CFPROTECTIONOPTIONS_H
15
16
#include "llvm/Support/ErrorHandling.h"
17
18
namespace
clang
{
19
20
enum class
CFBranchLabelSchemeKind
{
21
Default
,
22
#define CF_BRANCH_LABEL_SCHEME(Kind, FlagVal) Kind,
23
#include "clang/Basic/CFProtectionOptions.def"
24
};
25
26
static
inline
const
char
*
27
getCFBranchLabelSchemeFlagVal
(
const
CFBranchLabelSchemeKind
Scheme) {
28
#define CF_BRANCH_LABEL_SCHEME(Kind, FlagVal) \
29
if (Scheme == CFBranchLabelSchemeKind::Kind) \
30
return #FlagVal;
31
#include "clang/Basic/CFProtectionOptions.def"
32
33
llvm::report_fatal_error(
"invalid scheme"
);
34
}
35
36
}
// namespace clang
37
38
#endif
// #ifndef LLVM_CLANG_BASIC_CFPROTECTIONOPTIONS_H
clang
The JSON file list parser is used to communicate input to InstallAPI.
Definition:
CalledOnceCheck.h:17
clang::StructuralEquivalenceKind::Default
@ Default
clang::CFBranchLabelSchemeKind
CFBranchLabelSchemeKind
Definition:
CFProtectionOptions.h:20
clang::getCFBranchLabelSchemeFlagVal
static const char * getCFBranchLabelSchemeFlagVal(const CFBranchLabelSchemeKind Scheme)
Definition:
CFProtectionOptions.h:27
Generated on Tue Feb 18 2025 18:19:32 for clang by
1.9.6