Skip to content
Snippets Groups Projects
Commit b8f956e0 authored by Aaron Ballman's avatar Aaron Ballman
Browse files

Add the ability to use logical expressions for capability attributes. This is...

Add the ability to use logical expressions for capability attributes. This is to allow requirements to be expressed not just in terms of lists, but in terms of logical expressions. Eg)

void foo(void) __attribute__((requires_capability((FlightControl || Worker) && !Logger)));

This is WIP code.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@208439 91177308-0d34-0410-b5e6-96231b3b80d8
parent 3ae09ee2
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment