aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/ModuleMap.cpp
diff options
context:
space:
mode:
authorSimon Tatham <simon.tatham@arm.com>2021-07-21 09:17:33 +0100
committerSimon Tatham <simon.tatham@arm.com>2021-07-21 10:45:46 +0100
commit21401a72629cc591bab7ec6816f03e6c550f3fb3 (patch)
tree31d5d18474c95e0858759982b697f86d84a36144 /clang/lib/Lex/ModuleMap.cpp
parent91670f5f20daa00b83520b76bcb54a5d373242f3 (diff)
downloadllvm-21401a72629cc591bab7ec6816f03e6c550f3fb3.zip
llvm-21401a72629cc591bab7ec6816f03e6c550f3fb3.tar.gz
llvm-21401a72629cc591bab7ec6816f03e6c550f3fb3.tar.bz2
[clang] Introduce SourceLocation::[U]IntTy typedefs.
This is part of a patch series working towards the ability to make SourceLocation into a 64-bit type to handle larger translation units. NFC: this patch introduces typedefs for the integer type used by SourceLocation and makes all the boring changes to use the typedefs everywhere, but for the moment, they are unconditionally defined to uint32_t. Patch originally by Mikhail Maltsev. Reviewed By: tmatheson Differential Revision: https://reviews.llvm.org/D105492
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
-rw-r--r--clang/lib/Lex/ModuleMap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Lex/ModuleMap.cpp b/clang/lib/Lex/ModuleMap.cpp
index 2c0038d..f9af7c2 100644
--- a/clang/lib/Lex/ModuleMap.cpp
+++ b/clang/lib/Lex/ModuleMap.cpp
@@ -1378,7 +1378,7 @@ namespace clang {
RSquare
} Kind;
- unsigned Location;
+ SourceLocation::UIntTy Location;
unsigned StringLength;
union {
// If Kind != IntegerLiteral.