diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2011-07-26 05:40:03 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2011-07-26 05:40:03 +0000 |
commit | c22845abe239d9310ade80cd3f4931421035b297 (patch) | |
tree | 4d24968b740af18c70b673f6980ff20cc9cf85d7 /clang/lib/Sema/SemaChecking.cpp | |
parent | 0b5cf7c86388a540b69c0124950a1350b8cc2977 (diff) | |
download | bcm5719-llvm-c22845abe239d9310ade80cd3f4931421035b297.tar.gz bcm5719-llvm-c22845abe239d9310ade80cd3f4931421035b297.zip |
Cleanup the stray comments and variables I could dig out of Sema to
refer to 'expansion' instead of 'instantiation'.
llvm-svn: 136060
Diffstat (limited to 'clang/lib/Sema/SemaChecking.cpp')
-rw-r--r-- | clang/lib/Sema/SemaChecking.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/clang/lib/Sema/SemaChecking.cpp b/clang/lib/Sema/SemaChecking.cpp index 32d90bffc2c..f86133a0a2c 100644 --- a/clang/lib/Sema/SemaChecking.cpp +++ b/clang/lib/Sema/SemaChecking.cpp @@ -3067,11 +3067,11 @@ void CheckImplicitConversion(Sema &S, Expr *E, QualType T, if (Source == Target) return; if (Target->isDependentType()) return; - // If the conversion context location is invalid don't complain. - // We also don't want to emit a warning if the issue occurs from the - // instantiation of a system macro. The problem is that 'getSpellingLoc()' - // is slow, so we delay this check as long as possible. Once we detect - // we are in that scenario, we just return. + // If the conversion context location is invalid don't complain. We also + // don't want to emit a warning if the issue occurs from the expansion of + // a system macro. The problem is that 'getSpellingLoc()' is slow, so we + // delay this check as long as possible. Once we detect we are in that + // scenario, we just return. if (CC.isInvalid()) return; |