summaryrefslogtreecommitdiff
path: root/lib/Basic/SourceManager.cpp
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2013-05-24 21:42:04 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2013-05-24 21:42:04 +0000
commit9779fdd271bb6a938bdee93f901e4ef7b1a88610 (patch)
tree95f9e2b62db6c812d7bbfb2ba897428b279adbc5 /lib/Basic/SourceManager.cpp
parentb0f77b065761670921fdf9c56029856cb5d9c306 (diff)
downloadclang-9779fdd271bb6a938bdee93f901e4ef7b1a88610.tar.gz
clang-9779fdd271bb6a938bdee93f901e4ef7b1a88610.tar.bz2
clang-9779fdd271bb6a938bdee93f901e4ef7b1a88610.tar.xz
Replace Count{Leading,Trailing}Zeros_{32,64} with count{Leading,Trailing}Zeros.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182675 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/SourceManager.cpp')
-rw-r--r--lib/Basic/SourceManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Basic/SourceManager.cpp b/lib/Basic/SourceManager.cpp
index 6994b30093..9cfa5b9f45 100644
--- a/lib/Basic/SourceManager.cpp
+++ b/lib/Basic/SourceManager.cpp
@@ -1258,7 +1258,7 @@ static void ComputeLineNumbers(DiagnosticsEngine &Diag, ContentCache *FI,
// If we found a newline, adjust the pointer and jump to the handling code.
if (Mask != 0) {
- NextBuf += llvm::CountTrailingZeros_32(Mask);
+ NextBuf += llvm::countTrailingZeros(Mask);
goto FoundSpecialChar;
}
NextBuf += 16;