Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support Feature Checking Macros #2406

Merged
merged 1 commit into from
Jul 26, 2022

Conversation

guwirth
Copy link
Collaborator

@guwirth guwirth commented Jul 26, 2022

#define __has_builtin(x) 0
#define __has_feature(x) 0
#define __has_extension(x) 0
#define __has_cpp_attribute(x) 0
#define __has_c_attribute(x) 0
#define __has_attribute(x) 0
#define __has_declspec_attribute(x) 0
#define __is_identifier(x) 1
#define __has_warning(x) 0

This change is Reviewable

* https://clang.llvm.org/docs/LanguageExtensions.html

```
#define __has_builtin(x) 0
#define __has_feature(x) 0
#define __has_extension(x) 0
#define __has_cpp_attribute(x) 0
#define __has_c_attribute(x) 0
#define __has_attribute(x) 0
#define __has_declspec_attribute(x) 0
#define __is_identifier(x) 1
#define __has_warning(x) 0
```

* close SonarOpenCommunity#2395
* close SonarOpenCommunity#2376
* close SonarOpenCommunity#2369
@guwirth guwirth added this to the 2.1.0 milestone Jul 26, 2022
@guwirth guwirth self-assigned this Jul 26, 2022
@guwirth guwirth merged commit c910f95 into SonarOpenCommunity:master Jul 26, 2022
@guwirth guwirth deleted the pp-refactoring-14 branch February 8, 2023 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant