Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/docs/ThreadSafetyAnalysis.rst | ||
---|---|---|
471 | I'd just say "Rejects invalid attribute syntax." But also
|
clang/docs/ThreadSafetyAnalysis.rst | ||
---|---|---|
471 | It's more about semantics than syntax, i.e. something like “this attribute doesn't make sense on such a declaration.” The full (current) list of warning messages is on https://clang.llvm.org/docs/DiagnosticsReference.html#wthread-safety-attributes. (Even “ignoring A attribute because its argument is invalid” is actually just saying that we don't understand the AST.) "Validation checks" feels like a hendiadys and doesn't really add anything. Indeed something like “Semantic (checks|validation) for thread safety attributes” would be most accurate. Though maybe @aaron.ballman has a better idea. |
LGTM!
clang/docs/ThreadSafetyAnalysis.rst | ||
---|---|---|
471 | TIL what hendiadys means. I think the currently proposed wording is reasonable (it's not just about syntax, as @aaronpuchert says, it's also about semantic checks). Really, this groups is about diagnostics that relate to incorrect use of the attribute itself, not the analysis supported by the attribute and "semantic checks" works for that). |
I'd just say "Rejects invalid attribute syntax." But also