enum ProtectedOperationKind

Description

This enum distinguishes between different kinds of operations that may need to be protected by locks. We use this enum in error handling.

Declared at: clang/include/clang/Analysis/Analyses/ThreadSafety.h:36

Enumerators

NameValueComment
POK_VarDereference0Dereferencing a variable (e.g. p in *p = 5;)
POK_VarAccess1Reading or writing a variable (e.g. x in x = 5;)
POK_FunctionCall2Making a function call (e.g. fool())
POK_PassByRef3Passing a guarded variable by reference.
POK_PtPassByRef4Passing a pt-guarded variable by reference.