================
@@ -1495,6 +1495,13 @@ void Sema::ActOnEndOfTranslationUnit() {
     Consumer.CompleteExternalDeclaration(D);
   }
 
+  // Visit all pending #pragma export.
+  for (auto &Iter : PendingExportedNames) {
----------------
perry-ca wrote:

I'll change the code so I don't use auto here.  I am curious why you say this 
doesn't follow the coding standards.  I thought it would have (see 
https://llvm.org/docs/CodingStandards.html#use-auto-type-deduction-to-make-code-more-readable).

I can change the line to:
```cpp
for (const SymbolLabel &Exported : PendingExportedNames.values())
```
or
```cpp
for (const auto &Exported : PendingExportedNames.values())
```

https://github.com/llvm/llvm-project/pull/141671
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to