projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f70d9b
)
[NFC] Replace usage of QualType.getTypePtr()-> with operator->
author
Erich Keane
<erich.keane@intel.com>
Wed, 11 Jul 2018 19:09:21 +0000
(19:09 +0000)
committer
Erich Keane
<erich.keane@intel.com>
Wed, 11 Jul 2018 19:09:21 +0000
(19:09 +0000)
llvm-svn: 336836
clang/lib/Sema/SemaDecl.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/Sema/SemaDecl.cpp
b/clang/lib/Sema/SemaDecl.cpp
index
f6faf38
..
13ef46b
100644
(file)
--- a/
clang/lib/Sema/SemaDecl.cpp
+++ b/
clang/lib/Sema/SemaDecl.cpp
@@
-8253,7
+8253,7
@@
Sema::ActOnFunctionDeclarator(Scope *S, Declarator &D, DeclContext *DC,
bool &AddToScope) {
QualType R = TInfo->getType();
- assert(R
.getTypePtr()
->isFunctionType());
+ assert(R->isFunctionType());
// TODO: consider using NameInfo for diagnostic.
DeclarationNameInfo NameInfo = GetNameForDeclarator(D);