summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaChecking.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2019-05-08 01:36:36 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2019-05-08 01:36:36 +0000
commit255b85f03c5db51478ea80146af5906adfb7c02a (patch)
tree8becc82a0a05db3fb57dbd494611f8640f69a529 /clang/lib/Sema/SemaChecking.cpp
parentc0b48ab6318026121241f90430b337ea2c7ee384 (diff)
downloadbcm5719-llvm-255b85f03c5db51478ea80146af5906adfb7c02a.tar.gz
bcm5719-llvm-255b85f03c5db51478ea80146af5906adfb7c02a.zip
Split ActOnCallExpr into an ActOnCallExpr to be called by the parser,
and a BuildCallExpr to be called internally within Sema to build / rebuild calls. llvm-svn: 360217
Diffstat (limited to 'clang/lib/Sema/SemaChecking.cpp')
-rw-r--r--clang/lib/Sema/SemaChecking.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaChecking.cpp b/clang/lib/Sema/SemaChecking.cpp
index d0479b832f5..f2aa931eedd 100644
--- a/clang/lib/Sema/SemaChecking.cpp
+++ b/clang/lib/Sema/SemaChecking.cpp
@@ -4885,7 +4885,7 @@ static bool checkBuiltinArgument(Sema &S, CallExpr *E, unsigned ArgIndex) {
/// We have a call to a function like __sync_fetch_and_add, which is an
/// overloaded function based on the pointer type of its first argument.
-/// The main ActOnCallExpr routines have already promoted the types of
+/// The main BuildCallExpr routines have already promoted the types of
/// arguments because all of these calls are prototyped as void(...).
///
/// This function goes through and does final semantic checking for these
OpenPOWER on IntegriCloud