summaryrefslogtreecommitdiff
path: root/lib/Sema/SemaCodeComplete.cpp
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2016-05-06 14:34:29 +0000
committerNico Weber <nicolasweber@gmx.de>2016-05-06 14:34:29 +0000
commit75762ded3bb25b2b3ffcdd94efca1fd25c39582d (patch)
tree7ca42c6d9276c86f6d0dc6f667c3298db42dc208 /lib/Sema/SemaCodeComplete.cpp
parent192704bac18fabb499b22ac47883120d27ebc332 (diff)
downloadclang-75762ded3bb25b2b3ffcdd94efca1fd25c39582d.tar.gz
Revert r268727, it caused PR27666.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@268736 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaCodeComplete.cpp')
-rw-r--r--lib/Sema/SemaCodeComplete.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/Sema/SemaCodeComplete.cpp b/lib/Sema/SemaCodeComplete.cpp
index 739d70288c..ab2e718c85 100644
--- a/lib/Sema/SemaCodeComplete.cpp
+++ b/lib/Sema/SemaCodeComplete.cpp
@@ -3812,9 +3812,6 @@ void Sema::CodeCompleteTypeQualifiers(DeclSpec &DS) {
if (getLangOpts().C11 &&
!(DS.getTypeQualifiers() & DeclSpec::TQ_atomic))
Results.AddResult("_Atomic");
- if (getLangOpts().MSVCCompat &&
- !(DS.getTypeQualifiers() & DeclSpec::TQ_unaligned))
- Results.AddResult("__unaligned");
Results.ExitScope();
HandleCodeCompleteResults(this, CodeCompleter,
Results.getCompletionContext(),