]> granicus.if.org Git - clang/commit
Tweak priorities for some types and macros:
authorDouglas Gregor <dgregor@apple.com>
Mon, 20 Sep 2010 21:11:48 +0000 (21:11 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 20 Sep 2010 21:11:48 +0000 (21:11 +0000)
commitb05496dbd63f03bf474dae2c4d1e2142608780cc
treee3f6e054547bf217be671a2e081f573000dd38d6
parent957b03be80ee712344bc0ff67c5ab7d768e88005
Tweak priorities for some types and macros:
  - In Objective-C, we prefer BOOL to bool for historic reasons;
  slightly penalize "bool".
  - Treat Nil macro as a NULL pointer constant.
  - Treat YES, NO, true, and false macros as constants.
  - Treat the bool macro as a type.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@114356 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/CodeCompleteConsumer.h
lib/Frontend/ASTUnit.cpp
lib/Sema/SemaCodeComplete.cpp
test/Index/complete-exprs.m