summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-09-02 00:18:52 +0000
committerDouglas Gregor <dgregor@apple.com>2011-09-02 00:18:52 +0000
commite8bbc121528b08157bf7457dada4bc87315a2c18 (patch)
tree16dae6b0d269ea7c0246e2cba993af6a3ae6a18b /clang/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp
parent83297dfc7e5a311af23eb686e29bc41d31322a79 (diff)
downloadbcm5719-llvm-e8bbc121528b08157bf7457dada4bc87315a2c18.tar.gz
bcm5719-llvm-e8bbc121528b08157bf7457dada4bc87315a2c18.zip
Extend the ASTContext constructor to delay the initialization of
builtin types (When requested). This is another step toward making ASTUnit build the ASTContext as needed when loading an AST file, rather than doing so after the fact. No actual functionality change (yet). llvm-svn: 138985
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp')
-rw-r--r--clang/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp b/clang/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp
index ba1dae87387..44dacb9bb6c 100644
--- a/clang/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp
+++ b/clang/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp
@@ -323,7 +323,7 @@ void CallAndMessageChecker::HandleNilReceiver(CheckerContext &C,
const uint64_t returnTypeSize = Ctx.getTypeSize(CanRetTy);
if (voidPtrSize < returnTypeSize &&
- !(supportsNilWithFloatRet(Ctx.Target.getTriple()) &&
+ !(supportsNilWithFloatRet(Ctx.getTargetInfo().getTriple()) &&
(Ctx.FloatTy == CanRetTy ||
Ctx.DoubleTy == CanRetTy ||
Ctx.LongDoubleTy == CanRetTy ||
OpenPOWER on IntegriCloud