Skip to content
Commit 02513160 authored by Francois Pichet's avatar Francois Pichet
Browse files

Implement the Microsoft __if_exists/if_not_exists extension in initializer-list.

Necessary to parse Microsoft ATL code.

Example: 
  int array[] = {
    0, 
    __if_exists(CLASS::Type) {2, }
    3
  };

will declare an array of 2 or 3 elements depending on if CLASS::Type exists or not.

llvm-svn: 146447
parent 7c5c789e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment