diff options
author | Francois Pichet <pichet2000@gmail.com> | 2011-12-12 23:24:39 +0000 |
---|---|---|
committer | Francois Pichet <pichet2000@gmail.com> | 2011-12-12 23:24:39 +0000 |
commit | 025131601d57ff1e531bbf07575061eb498ba416 (patch) | |
tree | 80964e51fc3d1d2823841c72cf6bbde3ab120a7f /clang/lib/Lex/ModuleMap.cpp | |
parent | 7c5c789e385b59937d890f17d7eca6bf08f60699 (diff) | |
download | llvm-025131601d57ff1e531bbf07575061eb498ba416.zip llvm-025131601d57ff1e531bbf07575061eb498ba416.tar.gz llvm-025131601d57ff1e531bbf07575061eb498ba416.tar.bz2 |
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
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions