diff options
| author | Tim Northover <tnorthover@apple.com> | 2014-02-19 10:56:23 +0000 |
|---|---|---|
| committer | Tim Northover <tnorthover@apple.com> | 2014-02-19 10:56:23 +0000 |
| commit | 2163a0e497b57f72873cc935ab0b4cb4f54e7a55 (patch) | |
| tree | bcb63c48cbeb2d8034552c41dbfb95667469f0a1 /clang/utils | |
| parent | f4421f7e28098b8c13792e2f7fb20692a3f40ec3 (diff) | |
| download | bcm5719-llvm-2163a0e497b57f72873cc935ab0b4cb4f54e7a55.tar.gz bcm5719-llvm-2163a0e497b57f72873cc935ab0b4cb4f54e7a55.zip | |
ARM & AArch64: move struct definition outside function.
Apparently it's not True C++.
rdar://problem/16035743 still.
llvm-svn: 201663
Diffstat (limited to 'clang/utils')
| -rw-r--r-- | clang/utils/TableGen/NeonEmitter.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/clang/utils/TableGen/NeonEmitter.cpp b/clang/utils/TableGen/NeonEmitter.cpp index b33c89d8b20..9c863b21231 100644 --- a/clang/utils/TableGen/NeonEmitter.cpp +++ b/clang/utils/TableGen/NeonEmitter.cpp @@ -3029,6 +3029,11 @@ NeonEmitter::genIntrinsicRangeCheckCode(raw_ostream &OS) { OS << "#endif\n\n"; } +struct OverloadInfo { + uint64_t Mask; + int PtrArgNum; + bool HasConstPtr; +}; /// Generate the ARM and AArch64 overloaded type checking code for /// SemaChecking.cpp, checking for unique builtin declarations. void @@ -3041,11 +3046,6 @@ NeonEmitter::genOverloadTypeCheckCode(raw_ostream &OS) { // We record each overload check line before emitting because subsequent Inst // definitions may extend the number of permitted types (i.e. augment the // Mask). Use std::map to avoid sorting the table by hash number. - struct OverloadInfo { - uint64_t Mask; - int PtrArgNum; - bool HasConstPtr; - }; std::map<std::string, OverloadInfo> OverloadMap; typedef std::map<std::string, OverloadInfo>::iterator OverloadIterator; |

