We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6b9d31 commit 4e7b363Copy full SHA for 4e7b363
clang/lib/CIR/CodeGen/CIRGenModule.cpp
@@ -807,7 +807,7 @@ std::string CIRGenModule::getUniqueGlobalName(const std::string &baseName) {
807
// it as is and start a counter for this base name.
808
auto it = cgGlobalNames.find(baseName);
809
if (it == cgGlobalNames.end()) {
810
- cgGlobalNames[baseName] = 0;
+ cgGlobalNames[baseName] = 1;
811
return baseName;
812
}
813
0 commit comments