projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0e118b
)
[clang][AST] Fix `-Wuninitialized`. NFC
author
Michael Liao
<michael.hliao@gmail.com>
Sun, 9 Apr 2023 19:55:38 +0000
(15:55 -0400)
committer
Michael Liao
<michael.hliao@gmail.com>
Sun, 9 Apr 2023 19:58:10 +0000
(15:58 -0400)
- Adjust the declaration order as non-static member are initialized in
order of declaration in the class definition.
clang/lib/AST/MicrosoftMangle.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/AST/MicrosoftMangle.cpp
b/clang/lib/AST/MicrosoftMangle.cpp
index
d8c837b
..
e0fd8ab
100644
(file)
--- a/
clang/lib/AST/MicrosoftMangle.cpp
+++ b/
clang/lib/AST/MicrosoftMangle.cpp
@@
-327,8
+327,8
@@
class MicrosoftCXXNameMangler {
typedef llvm::DenseMap<const void *, StringRef> TemplateArgStringMap;
TemplateArgStringMap TemplateArgStrings;
- llvm::StringSaver TemplateArgStringStorage;
llvm::BumpPtrAllocator TemplateArgStringStorageAlloc;
+ llvm::StringSaver TemplateArgStringStorage;
typedef std::set<std::pair<int, bool>> PassObjectSizeArgsSet;
PassObjectSizeArgsSet PassObjectSizeArgs;