[clang] bce178a - Fix for commit d8cd7806310c51af912a647a6ca46de62ff13214.
Brad Smith via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 3 18:23:33 PDT 2021
Author: Brad Smith
Date: 2021-09-03T21:20:37-04:00
New Revision: bce178a5ecf10df762cbda59c7f60cca8e52ce3a
URL: https://github.com/llvm/llvm-project/commit/bce178a5ecf10df762cbda59c7f60cca8e52ce3a
DIFF: https://github.com/llvm/llvm-project/commit/bce178a5ecf10df762cbda59c7f60cca8e52ce3a.diff
LOG: Fix for commit d8cd7806310c51af912a647a6ca46de62ff13214.
Added:
Modified:
clang/lib/Basic/Targets/OSTargets.h
Removed:
################################################################################
diff --git a/clang/lib/Basic/Targets/OSTargets.h b/clang/lib/Basic/Targets/OSTargets.h
index 3d33eabcab44..02a0957be5b9 100644
--- a/clang/lib/Basic/Targets/OSTargets.h
+++ b/clang/lib/Basic/Targets/OSTargets.h
@@ -460,11 +460,11 @@ class LLVM_LIBRARY_VISIBILITY OpenBSDTargetInfo : public OSTargetInfo<Target> {
Builder.defineMacro("_REENTRANT");
if (this->HasFloat128)
Builder.defineMacro("__FLOAT128__");
- }
- if (Opts.C11) {
- Builder.defineMacro("__STDC_NO_ATOMICS__");
- Builder.defineMacro("__STDC_NO_THREADS__");
+ if (Opts.C11) {
+ Builder.defineMacro("__STDC_NO_ATOMICS__");
+ Builder.defineMacro("__STDC_NO_THREADS__");
+ }
}
public:
More information about the cfe-commits
mailing list