commit | 1e862693c63067ae467b0b3884c44f753cd6e821 | [log] [tgz] |
---|---|---|
author | Francois Pichet <pichet2000@gmail.com> | Fri May 06 20:48:22 2011 +0000 |
committer | Francois Pichet <pichet2000@gmail.com> | Fri May 06 20:48:22 2011 +0000 |
tree | b01109f3320aecb8c954f021bb053428396a0a80 | |
parent | 10620eb5164e31208fcbf0437cd79ae535ed0559 [diff] |
Add support for Microsoft __if_exists and __if_not_exists construct inside function definition. Allow to include or exclude code depending on if a symbol exists or not. Just like a #ifdef but for C/C++ symbols. More doc: http://msdn.microsoft.com/en-us/library/x7wy9xh3(v=VS.100).aspx Support at class and namespace scopes will be added later. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@131014 91177308-0d34-0410-b5e6-96231b3b80d8