diff options
author | Craig Topper <craig.topper@gmail.com> | 2015-10-04 04:53:55 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2015-10-04 04:53:55 +0000 |
commit | e335f259498a550c73d3f77d9765cbe610a60b4e (patch) | |
tree | eabe6a8a456bf232adfde5932d669f4d69e7b1ca /clang/lib/Sema/SemaExceptionSpec.cpp | |
parent | 8f70a9f892db8f18277b0f5127d9063de237debc (diff) | |
download | bcm5719-llvm-e335f259498a550c73d3f77d9765cbe610a60b4e.tar.gz bcm5719-llvm-e335f259498a550c73d3f77d9765cbe610a60b4e.zip |
SourceRanges are small and trivially copyable, don't them by reference.
llvm-svn: 249259
Diffstat (limited to 'clang/lib/Sema/SemaExceptionSpec.cpp')
-rw-r--r-- | clang/lib/Sema/SemaExceptionSpec.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaExceptionSpec.cpp b/clang/lib/Sema/SemaExceptionSpec.cpp index e8d60d8b9c8..a4356f6941b 100644 --- a/clang/lib/Sema/SemaExceptionSpec.cpp +++ b/clang/lib/Sema/SemaExceptionSpec.cpp @@ -68,7 +68,7 @@ bool Sema::isLibstdcxxEagerExceptionSpecHack(const Declarator &D) { /// /// \param[in,out] T The exception type. This will be decayed to a pointer type /// when the input is an array or a function type. -bool Sema::CheckSpecifiedExceptionType(QualType &T, const SourceRange &Range) { +bool Sema::CheckSpecifiedExceptionType(QualType &T, SourceRange Range) { // C++11 [except.spec]p2: // A type cv T, "array of T", or "function returning T" denoted // in an exception-specification is adjusted to type T, "pointer to T", or |