================
@@ -2649,6 +2649,15 @@ void CodeGenModule::ConstructAttributeList(StringRef
Name,
// CPU/feature overrides. addDefaultFunctionDefinitionAttributes
// handles these separately to set them based on the global defaults.
GetCPUAndFeaturesAttributes(CalleeInfo.getCalleeDecl(), FuncAttrs);
+
+ // Windows hotpatching support
+ if (!MSHotPatchFunctions.empty()) {
+ bool IsHotPatched = std::binary_search(MSHotPatchFunctions.begin(),
+ MSHotPatchFunctions.end(), Name);
+ if (IsHotPatched) {
----------------
sivadeilra wrote:
Thanks. I've done a full pass through the patch now, and I believe I've fixed
all of the use of braces.
https://github.com/llvm/llvm-project/pull/138972
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits